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
Constructors -
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:SecurityAuthenticatorAttempts to login thePrincipalon this realm. The login is a success if no Exception is thrown, and aSubjectis 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:SecurityAuthenticatorAttempt to logout the subject.- Parameters:
subject- subject to logout- Throws:
LoginException- is thrown if error logging out subject
-