com.atlassian.crowd.integration.j2ee
Class Tomcat4RealmProvidor

java.lang.Object
  extended by com.atlassian.crowd.integration.j2ee.Tomcat4RealmProvidor

public class Tomcat4RealmProvidor
extends Object


Field Summary
protected  PropertyChangeSupport support
          The property change support for this component.
 
Constructor Summary
Tomcat4RealmProvidor()
           
 
Method Summary
 void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)
           
 Principal authenticate(String principal, byte[] credential)
           
 Principal authenticate(String principal, String credential)
           
 Principal authenticate(String username, String digest, String nonce, String nc, String cnonce, String qop, String realm, String md5a2)
           
 Principal authenticate(X509Certificate[] x509Certificates)
           
 Container getContainer()
          Return the Container with which this Realm has been associated.
 String getInfo()
           
 boolean hasRole(Principal principal, String role)
           
 void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)
           
 void setContainer(Container container)
          Set the Container with which this Realm has been associated.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

support

protected PropertyChangeSupport support
The property change support for this component.

Constructor Detail

Tomcat4RealmProvidor

public Tomcat4RealmProvidor()
Method Detail

getContainer

public Container getContainer()
Return the Container with which this Realm has been associated.


setContainer

public void setContainer(Container container)
Set the Container with which this Realm has been associated.

Parameters:
container - The associated Container

addPropertyChangeListener

public void addPropertyChangeListener(PropertyChangeListener propertyChangeListener)

removePropertyChangeListener

public void removePropertyChangeListener(PropertyChangeListener propertyChangeListener)

authenticate

public Principal authenticate(String principal,
                              byte[] credential)

authenticate

public Principal authenticate(String principal,
                              String credential)

authenticate

public Principal authenticate(String username,
                              String digest,
                              String nonce,
                              String nc,
                              String cnonce,
                              String qop,
                              String realm,
                              String md5a2)

authenticate

public Principal authenticate(X509Certificate[] x509Certificates)

getInfo

public String getInfo()

hasRole

public boolean hasRole(Principal principal,
                       String role)


Copyright © 2006 Atlassian Software Systems. All Rights Reserved.