aerogear-security 1.3.1

org.jboss.aerogear.security.auth
Interface AuthenticationManager<T>


public interface AuthenticationManager<T>

A AuthenticationManager executes the basic authentication operations for an entity from the authentication provider Ex: User, SimpleUser


Method Summary
 boolean login(T user, String password)
          Logs in the specified User.
 void logout()
          Logs out the specified User from the system.
 

Method Detail

login

boolean login(T user,
              String password)
Logs in the specified User.

Parameters:
user - represents a simple implementation that holds user's credentials.
Throws:
AeroGearSecurityException - on login failure.

logout

void logout()
Logs out the specified User from the system.

Throws:
AeroGearSecurityException - on logout failure.

aerogear-security 1.3.1

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.