public class JAASSecurityAuthenticator extends SecurityAuthenticatorSupport
SecurityAuthenticator implementation.SecurityAuthenticatorSupport.HttpPrincipalCallbackHandler| Constructor and Description | 
|---|
| JAASSecurityAuthenticator() | 
| Modifier and Type | Method and Description | 
|---|---|
| Subject | login(HttpPrincipal principal)Attempts to login the  Principalon this realm. | 
| void | logout(Subject subject)Attempt to logout the subject. | 
getName, getUserRoles, isRoleClass, setName, setRoleClassNamespublic Subject login(HttpPrincipal principal) throws LoginException
SecurityAuthenticatorPrincipal on this realm.
 
 The login is a success if no Exception is thrown, and a Subject is returned.principal - the principalLoginException - is thrown if error logging in the Principalpublic void logout(Subject subject) throws LoginException
SecurityAuthenticatorsubject - subject to logoutLoginException - is thrown if error logging out subjectApache Camel