Class JAASSecurityAuthenticator
java.lang.Object
org.apache.camel.component.netty.http.SecurityAuthenticatorSupport
org.apache.camel.component.netty.http.JAASSecurityAuthenticator
- All Implemented Interfaces:
SecurityAuthenticator
A JAAS based
SecurityAuthenticator
implementation.-
Nested Class Summary
Nested classes/interfaces inherited from class org.apache.camel.component.netty.http.SecurityAuthenticatorSupport
SecurityAuthenticatorSupport.HttpPrincipalCallbackHandler
-
Constructor Summary
-
Method Summary
Methods inherited from class org.apache.camel.component.netty.http.SecurityAuthenticatorSupport
getName, getUserRoles, isRoleClass, setName, setRoleClassNames
-
Constructor Details
-
JAASSecurityAuthenticator
public JAASSecurityAuthenticator()
-
-
Method Details
-
login
Description copied from interface:SecurityAuthenticator
Attempts to login thePrincipal
on this realm. The login is a success if no Exception is thrown, and aSubject
is returned.- Parameters:
principal
- the principal- Returns:
- the subject for the logged in principal, must not be null
- Throws:
LoginException
- is thrown if error logging in thePrincipal
-
logout
Description copied from interface:SecurityAuthenticator
Attempt to logout the subject.- Parameters:
subject
- subject to logout- Throws:
LoginException
- is thrown if error logging out subject
-