TorqueBox 3.1.2

org.torquebox.security.auth
Class Authenticator

java.lang.Object
  extended by org.torquebox.security.auth.Authenticator
All Implemented Interfaces:
org.jboss.msc.service.Service<Authenticator>, org.jboss.msc.value.Value<Authenticator>

public class Authenticator
extends Object
implements org.jboss.msc.service.Service<Authenticator>


Field Summary
static String TORQUEBOX_AUTH_DOMAIN
           
 
Fields inherited from interface org.jboss.msc.service.Service
NULL, NULL_VALUE
 
Constructor Summary
Authenticator()
           
 
Method Summary
 boolean authenticate(String name, String pass)
           
 String getAuthDomain()
           
 org.jboss.security.AuthenticationManager getAuthenticationManager()
           
 org.jboss.security.SecurityContext getSecurityContext()
           
 Authenticator getValue()
           
 void setAuthDomain(String domain)
           
protected  void start()
           
 void start(org.jboss.msc.service.StartContext context)
           
 void stop(org.jboss.msc.service.StopContext context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TORQUEBOX_AUTH_DOMAIN

public static final String TORQUEBOX_AUTH_DOMAIN
See Also:
Constant Field Values
Constructor Detail

Authenticator

public Authenticator()
Method Detail

setAuthDomain

public void setAuthDomain(String domain)

getAuthDomain

public String getAuthDomain()

authenticate

public boolean authenticate(String name,
                            String pass)

getAuthenticationManager

public org.jboss.security.AuthenticationManager getAuthenticationManager()

getSecurityContext

public org.jboss.security.SecurityContext getSecurityContext()

getValue

public Authenticator getValue()
                       throws IllegalStateException,
                              IllegalArgumentException
Specified by:
getValue in interface org.jboss.msc.value.Value<Authenticator>
Throws:
IllegalStateException
IllegalArgumentException

start

public void start(org.jboss.msc.service.StartContext context)
           throws org.jboss.msc.service.StartException
Specified by:
start in interface org.jboss.msc.service.Service<Authenticator>
Throws:
org.jboss.msc.service.StartException

start

protected void start()
              throws Exception
Throws:
Exception

stop

public void stop(org.jboss.msc.service.StopContext context)
Specified by:
stop in interface org.jboss.msc.service.Service<Authenticator>

TorqueBox 3.1.2

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