| Modifier and Type | Field and Description |
|---|---|
| protected String | |
| protected Configuration | |
| protected JAASUserPrincipal | |
| protected IdentityService | |
| protected String | |
| protected String | |
| protected String[] | |
| public static final String | |
| public static final String[] | |
| public static final ThreadLocal | |
| private static final Logger |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected void | doStart()
Overrides org. Starts the managed lifecycle beans in the order they were added. |
| public Configuration | |
| protected String[] | |
| public IdentityService | Returns: the identityServiceImplements org. Get the identityService. |
| public String | Returns: name or null if not set.Implements org. Get the name of the realm. |
| public String[] | |
| private String | |
| private static boolean | Returns: true if the class is a role classthe class to check clazz, List<String> the list of classnames that represent roles roleClassNames)Check whether the class, its superclasses or any interfaces they implement is one of the classes that represents a role. |
| public UserIdentity | |
| public void | |
| public void | |
| public void | |
| public void | setIdentityService(IdentityService
the identityService to set identityService)Implements org. Set the identityService. |
| public void | setLoginModuleName(String
a name)String valueSet the name to use to index into the config file of LoginModules. |
| public void | |
| public void | |
| public boolean | validate(UserIdentity
The user to validate user)Implements org. Validate a user identity. |
| _callbackHandlerClass | back to summary |
|---|---|
| protected String _callbackHandlerClass | |
| _configuration | back to summary |
|---|---|
| protected Configuration _configuration | |
| _defaultUser | back to summary |
|---|---|
| protected JAASUserPrincipal _defaultUser | |
| _identityService | back to summary |
|---|---|
| protected IdentityService _identityService | |
| _loginModuleName | back to summary |
|---|---|
| protected String _loginModuleName | |
| _realmName | back to summary |
|---|---|
| protected String _realmName | |
| _roleClassNames | back to summary |
|---|---|
| protected String[] _roleClassNames | |
| DEFAULT_ROLE_CLASS_NAME | back to summary |
|---|---|
| public static final String DEFAULT_ROLE_CLASS_NAME | |
| DEFAULT_ROLE_CLASS_NAMES | back to summary |
|---|---|
| public static final String[] DEFAULT_ROLE_CLASS_NAMES | |
| INSTANCE | back to summary |
|---|---|
| public static final ThreadLocal<JAASLoginService> INSTANCE | |
| LOG | back to summary |
|---|---|
| private static final Logger LOG Hides org. | |
| JAASLoginService | back to summary |
|---|---|
| public JAASLoginService() | |
| JAASLoginService | back to summary |
|---|---|
public JAASLoginService(String name)
| |
| doStart | back to summary |
|---|---|
| protected void doStart() throws Exception Overrides org. Doc from org. Starts the managed lifecycle beans in the order they were added.
| |
| getConfiguration | back to summary |
|---|---|
| public Configuration getConfiguration() Get the configuration.
| |
| getGroups | back to summary |
|---|---|
| protected String[] getGroups(Subject subject) Get all of the groups for the user. | |
| getIdentityService | back to summary |
|---|---|
| public IdentityService getIdentityService() Implements org. Get the identityService.
| |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Get the name of the realm. | |
| getRoleClassNames | back to summary |
|---|---|
| public String[] getRoleClassNames() | |
| getUserName | back to summary |
|---|---|
| private String getUserName(CallbackHandler callbackHandler) throws IOException, UnsupportedCallbackException | |
| isRoleClass | back to summary |
|---|---|
| private static boolean isRoleClass(Class<?> clazz, List<String> roleClassNames) Check whether the class, its superclasses or any interfaces they implement is one of the classes that represents a role. | |
| login | back to summary |
|---|---|
| public UserIdentity login(String username, Object credentials, Request request, Function<Boolean, Session> getOrCreateSession) Implements org. Doc from org. Login a user.
| |
| logout | back to summary |
|---|---|
| public void logout(UserIdentity user) Implements org.
| |
| setCallbackHandlerClass | back to summary |
|---|---|
| public void setCallbackHandlerClass(String classname) | |
| setConfiguration | back to summary |
|---|---|
| public void setConfiguration(Configuration configuration) Set the configuration to set.
| |
| setIdentityService | back to summary |
|---|---|
| public void setIdentityService(IdentityService identityService) Implements org. Set the identityService.
| |
| setLoginModuleName | back to summary |
|---|---|
| public void setLoginModuleName(String name) Set the name to use to index into the config file of LoginModules.
| |
| setName | back to summary |
|---|---|
| public void setName(String name) Set the name of the realm
| |
| setRoleClassNames | back to summary |
|---|---|
| public void setRoleClassNames(String[] classnames) | |
| validate | back to summary |
|---|---|
| public boolean validate(UserIdentity user) Implements org. Doc from org. Validate a user identity.
Validate that a UserIdentity previously created by a call
to
| |