org.jboss.aerogear.security.picketlink.auth
Class AuthenticationManagerImpl
java.lang.Object
org.jboss.aerogear.security.picketlink.auth.AuthenticationManagerImpl
- All Implemented Interfaces:
- org.jboss.aerogear.security.auth.AuthenticationManager<org.picketlink.idm.model.sample.User>
@ApplicationScoped
public class AuthenticationManagerImpl
- extends Object
- implements org.jboss.aerogear.security.auth.AuthenticationManager<org.picketlink.idm.model.sample.User>
A AuthenticationManager implementation executes the basic authentication operations for User
|
Method Summary |
boolean |
login(org.picketlink.idm.model.sample.User user,
String password)
Logs in the specified User. |
void |
logout()
Logs out the specified User from the system. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuthenticationManagerImpl
public AuthenticationManagerImpl()
login
public boolean login(org.picketlink.idm.model.sample.User user,
String password)
- Logs in the specified User.
- Specified by:
login in interface org.jboss.aerogear.security.auth.AuthenticationManager<org.picketlink.idm.model.sample.User>
- Parameters:
user - represents a simple implementation that holds user's credentials.
- Throws:
org.jboss.aerogear.security.exception.AeroGearSecurityException - on login failure.
logout
public void logout()
- Logs out the specified User from the system.
- Specified by:
logout in interface org.jboss.aerogear.security.auth.AuthenticationManager<org.picketlink.idm.model.sample.User>
- Throws:
org.jboss.aerogear.security.exception.AeroGearSecurityException - on logout failure.
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.