org.apache.camel.component.netty.http
Class JAASSecurityAuthenticator
java.lang.Object
org.apache.camel.component.netty.http.SecurityAuthenticatorSupport
org.apache.camel.component.netty.http.JAASSecurityAuthenticator
- All Implemented Interfaces:
- SecurityAuthenticator
public class JAASSecurityAuthenticator
- extends SecurityAuthenticatorSupport
A JAAS based SecurityAuthenticator
implementation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JAASSecurityAuthenticator
public JAASSecurityAuthenticator()
login
public Subject login(HttpPrincipal principal)
throws LoginException
- Description copied from interface:
SecurityAuthenticator
- Attempts to login the
Principal
on this realm.
The login is a success if no Exception is thrown, and a Subject
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 the Principal
logout
public void logout(Subject subject)
throws LoginException
- Description copied from interface:
SecurityAuthenticator
- Attempt to logout the subject.
- Parameters:
subject
- subject to logout
- Throws:
LoginException
- is thrown if error logging out subject
Apache Camel