站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

Authenticator (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.security.authenticator
Class Authenticator

java.lang.Object
  extended by org.jboss.seam.security.authenticator.Authenticator
Direct Known Subclasses:
ProviderAuthenticator

@Name(value="org.jboss.seam.security.authenticator")
@Install(value=false,
         precedence=0,
         dependencies="org.jboss.seam.securityManager")
public abstract class Authenticator
extends Object

Author:
Shane Bryzak

Constructor Summary
Authenticator()
           
 
Method Summary
 Identity authenticate(Identity ident)
           
 Identity authenticate(String username, String password)
           
 void beginRequest()
           
abstract  Identity doAuthentication(Identity ident)
           
 void endRequest()
           
static Authenticator instance()
           
 void setAdapters(List<String> adapterNames)
           
 void unauthenticateSession()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Authenticator

public Authenticator()
Method Detail

instance

public static Authenticator instance()

authenticate

public Identity authenticate(String username,
                             String password)
                      throws AuthenticationException
Throws:
AuthenticationException

authenticate

public final Identity authenticate(Identity ident)
                            throws AuthenticationException
Throws:
AuthenticationException

doAuthentication

public abstract Identity doAuthentication(Identity ident)
                                   throws AuthenticationException
Throws:
AuthenticationException

unauthenticateSession

public void unauthenticateSession()

setAdapters

public void setAdapters(List<String> adapterNames)

beginRequest

public void beginRequest()

endRequest

public void endRequest()