@ApplicationScoped public class AuthenticationManagerImpl extends Object implements org.jboss.aerogear.security.auth.AuthenticationManager
AeroGearUser| Modifier and Type | Field and Description |
|---|---|
private org.jboss.aerogear.security.auth.CredentialFactory |
credentialFactory |
private org.picketbox.cdi.PicketBoxIdentity |
identity |
| Constructor and Description |
|---|
AuthenticationManagerImpl() |
| Modifier and Type | Method and Description |
|---|---|
void |
login(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
Logs in the specified
AeroGearUser. |
void |
logout()
Logs out the specified
AeroGearUser from the system. |
private void |
onAuthenticationFailure() |
@Inject private org.picketbox.cdi.PicketBoxIdentity identity
@Inject private org.jboss.aerogear.security.auth.CredentialFactory credentialFactory
public void login(org.jboss.aerogear.security.model.AeroGearUser aeroGearUser)
AeroGearUser.login in interface org.jboss.aerogear.security.auth.AuthenticationManageraeroGearUser - represents a simple implementation that holds user's credentials.org.jboss.aerogear.security.exception.AeroGearSecurityException - on login failure.public void logout()
AeroGearUser from the system.logout in interface org.jboss.aerogear.security.auth.AuthenticationManagerorg.jboss.aerogear.security.exception.AeroGearSecurityException - on logout failure.private void onAuthenticationFailure()
Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.