org.apache.geronimo.jetty
Class JAASJettyRealm
java.lang.Object
org.apache.geronimo.jetty.JAASJettyRealm
- All Implemented Interfaces:
- org.apache.geronimo.gbean.GBeanLifecycle, org.mortbay.http.UserRealm
- public class JAASJettyRealm
- extends Object
- implements org.mortbay.http.UserRealm, org.apache.geronimo.gbean.GBeanLifecycle
- Version:
- $Revision: 1.6 $ $Date: 2004/07/12 06:07:51 $
Field Summary |
static org.apache.geronimo.gbean.GBeanInfo |
GBEAN_INFO
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GBEAN_INFO
public static final org.apache.geronimo.gbean.GBeanInfo GBEAN_INFO
JAASJettyRealm
public JAASJettyRealm(JettyContainer container)
getName
public String getName()
- Specified by:
getName
in interface org.mortbay.http.UserRealm
setName
public void setName(String name)
setLoginModuleName
public void setLoginModuleName(String name)
getPrincipal
public Principal getPrincipal(String username)
- Specified by:
getPrincipal
in interface org.mortbay.http.UserRealm
authenticate
public Principal authenticate(String username,
Object credentials,
org.mortbay.http.HttpRequest request)
- Specified by:
authenticate
in interface org.mortbay.http.UserRealm
logout
public void logout(Principal user)
- Specified by:
logout
in interface org.mortbay.http.UserRealm
reauthenticate
public boolean reauthenticate(Principal user)
- Specified by:
reauthenticate
in interface org.mortbay.http.UserRealm
disassociate
public void disassociate(Principal user)
- Specified by:
disassociate
in interface org.mortbay.http.UserRealm
isUserInRole
public boolean isUserInRole(Principal user,
String role)
- Specified by:
isUserInRole
in interface org.mortbay.http.UserRealm
pushRole
public Principal pushRole(Principal user,
String role)
- Specified by:
pushRole
in interface org.mortbay.http.UserRealm
popRole
public Principal popRole(Principal user)
- Specified by:
popRole
in interface org.mortbay.http.UserRealm
doStart
public void doStart()
throws org.apache.geronimo.gbean.WaitingException,
Exception
- Specified by:
doStart
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
Exception
doStop
public void doStop()
throws org.apache.geronimo.gbean.WaitingException
- Specified by:
doStop
in interface org.apache.geronimo.gbean.GBeanLifecycle
- Throws:
org.apache.geronimo.gbean.WaitingException
doFail
public void doFail()
- Specified by:
doFail
in interface org.apache.geronimo.gbean.GBeanLifecycle
getGBeanInfo
public static org.apache.geronimo.gbean.GBeanInfo getGBeanInfo()
Copyright © 2003-2005 Apache Software Foundation. All Rights Reserved.