br.gov.frameworkdemoiselle.security
Class ServletAuthenticator

java.lang.Object
  extended by br.gov.frameworkdemoiselle.security.ServletAuthenticator
All Implemented Interfaces:
Authenticator, Serializable

public class ServletAuthenticator
extends Object
implements Authenticator

Implements the Authenticator interface, offering a way to implement offering a manner to use the authenticator's functionalities.

Author:
SERPRO
See Also:
Serialized Form

Constructor Summary
ServletAuthenticator()
           
 
Method Summary
 void authenticate()
           
protected  Credentials getCredentials()
           
 User getUser()
           
 void unauthenticate()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServletAuthenticator

public ServletAuthenticator()
Method Detail

authenticate

public void authenticate()
                  throws Exception
Specified by:
authenticate in interface Authenticator
Throws:
Exception

unauthenticate

public void unauthenticate()
                    throws Exception
Specified by:
unauthenticate in interface Authenticator
Throws:
Exception

getUser

public User getUser()
Specified by:
getUser in interface Authenticator

getCredentials

protected Credentials getCredentials()


Copyright © 2014 SERPRO - Serviço Federal de Processamento de Dados. All Rights Reserved.