org.apache.cocoon.auth.impl
Class AbstractSecurityHandler
java.lang.Object
org.apache.cocoon.auth.impl.AbstractSecurityHandler
- All Implemented Interfaces:
- BeanNameAware, org.apache.cocoon.auth.SecurityHandler
- Direct Known Subclasses:
- AnonymousSecurityHandler, DAOSecurityHandler, PipelineSecurityHandler, ServletSecurityHandler, SimpleSecurityHandler
- public abstract class AbstractSecurityHandler
- extends Object
- implements org.apache.cocoon.auth.SecurityHandler, BeanNameAware
This is a base class that can be used for own SecurityHandler
s.
- Version:
- $Id: AbstractSecurityHandler.html 1304280 2012-03-23 11:18:01Z ilgrosso $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.apache.cocoon.auth.SecurityHandler |
login, logout |
supportAnonUser
protected boolean supportAnonUser
- Support for anonymous user?
anonName
protected String anonName
- Name of the anonymous user.
anonPass
protected String anonPass
- Password of the anonymous user.
id
protected String id
- The id for the security handler.
AbstractSecurityHandler
public AbstractSecurityHandler()
getLogger
public Log getLogger()
setLogger
public void setLogger(Log l)
setAnonymousName
public void setAnonymousName(String anonName)
setAnonymousPassword
public void setAnonymousPassword(String anonPass)
setSupportAnonymousUser
public void setSupportAnonymousUser(boolean supportAnonUser)
setBeanName
public void setBeanName(String name)
- Specified by:
setBeanName
in interface BeanNameAware
- See Also:
BeanNameAware.setBeanName(java.lang.String)
getId
public String getId()
- Specified by:
getId
in interface org.apache.cocoon.auth.SecurityHandler
- See Also:
SecurityHandler.getId()
Copyright © 1999-2008 The Apache Software Foundation. All Rights Reserved.