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

Authenticator (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 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")
public abstract class Authenticator
extends Object

Author:
Shane Bryzak

Constructor Summary
Authenticator()
           
 
Method Summary
 Authentication authenticate(Authentication authentication)
           
 Authentication authenticate(String username, String password)
           
 void beginRequest()
           
abstract  Authentication doAuthentication(Authentication authentication)
           
 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 Authentication authenticate(String username,
                                   String password)
                            throws AuthenticationException
Throws:
AuthenticationException

authenticate

public final Authentication authenticate(Authentication authentication)
                                  throws AuthenticationException
Throws:
AuthenticationException

doAuthentication

public abstract Authentication doAuthentication(Authentication authentication)
                                         throws AuthenticationException
Throws:
AuthenticationException

unauthenticateSession

public void unauthenticateSession()

setAdapters

public void setAdapters(List<String> adapterNames)

beginRequest

public void beginRequest()

endRequest

public void endRequest()