org.apache.geronimo.jetty6
Class InternalJAASJettyRealm

java.lang.Object
  extended by org.apache.geronimo.jetty6.InternalJAASJettyRealm

public class InternalJAASJettyRealm
extends Object


Constructor Summary
InternalJAASJettyRealm(String geronimoRealmName)
           
 
Method Summary
 void addUse()
           
 Principal authenticate(String username, Object credentials, org.mortbay.jetty.Request request)
           
 void disassociate(Principal user)
           
 Principal getPrincipal(String username)
           
 String getSecurityRealmName()
           
 boolean isUserInRole(Principal user, String role)
           
 void logout(Principal user)
           
 Principal popRole(Principal user)
           
 Principal pushRole(Principal user, String role)
           
 boolean reauthenticate(Principal user)
           
 int removeUse()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InternalJAASJettyRealm

public InternalJAASJettyRealm(String geronimoRealmName)
Method Detail

getSecurityRealmName

public String getSecurityRealmName()

getPrincipal

public Principal getPrincipal(String username)

authenticate

public Principal authenticate(String username,
                              Object credentials,
                              org.mortbay.jetty.Request request)

logout

public void logout(Principal user)

reauthenticate

public boolean reauthenticate(Principal user)

disassociate

public void disassociate(Principal user)

isUserInRole

public boolean isUserInRole(Principal user,
                            String role)

pushRole

public Principal pushRole(Principal user,
                          String role)

popRole

public Principal popRole(Principal user)

addUse

public void addUse()

removeUse

public int removeUse()


Copyright © 2003-2007 Apache Software Foundation. All Rights Reserved.