|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.cocoon.auth.impl.StandardApplication
This is the default implementation for an Application
.
Field Summary | |
protected Map |
attributes
Attributes. |
protected org.apache.cocoon.auth.SecurityHandler |
handler
The security handler. |
protected static String |
HANDLER_CONFIG_PREFIX
This prefix is used to lookup security handlers. |
protected org.apache.cocoon.auth.ApplicationStore |
store
Application store. |
protected static String |
STORE_CONFIG_PREFIX
This prefix is used to lookup application stores. |
Constructor Summary | |
StandardApplication()
|
Method Summary | |
org.apache.cocoon.auth.ApplicationStore |
getApplicationStore()
|
Object |
getAttribute(String key)
|
Log |
getLogger()
|
org.apache.cocoon.auth.SecurityHandler |
getSecurityHandler()
|
void |
removeAttribute(String key)
|
void |
setApplicationStore(org.apache.cocoon.auth.ApplicationStore s)
|
void |
setAttribute(String key,
Object value)
|
void |
setAttributes(Map map)
|
void |
setLogger(Log l)
|
void |
setSecurityHandler(org.apache.cocoon.auth.SecurityHandler h)
|
void |
userDidLogin(org.apache.cocoon.auth.User user,
Map context)
|
void |
userIsAccessing(org.apache.cocoon.auth.User user)
|
void |
userWillLogout(org.apache.cocoon.auth.User user,
Map context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final String HANDLER_CONFIG_PREFIX
protected static final String STORE_CONFIG_PREFIX
protected org.apache.cocoon.auth.SecurityHandler handler
protected Map attributes
protected org.apache.cocoon.auth.ApplicationStore store
Constructor Detail |
public StandardApplication()
Method Detail |
public Log getLogger()
public void setLogger(Log l)
public void setSecurityHandler(org.apache.cocoon.auth.SecurityHandler h)
public void setApplicationStore(org.apache.cocoon.auth.ApplicationStore s)
public void setAttributes(Map map)
public org.apache.cocoon.auth.SecurityHandler getSecurityHandler()
getSecurityHandler
in interface org.apache.cocoon.auth.Application
Application.getSecurityHandler()
public org.apache.cocoon.auth.ApplicationStore getApplicationStore()
getApplicationStore
in interface org.apache.cocoon.auth.Application
Application.getApplicationStore()
public void setAttribute(String key, Object value)
setAttribute
in interface org.apache.cocoon.auth.Application
Application.setAttribute(java.lang.String, java.lang.Object)
public void removeAttribute(String key)
removeAttribute
in interface org.apache.cocoon.auth.Application
Application.removeAttribute(java.lang.String)
public Object getAttribute(String key)
getAttribute
in interface org.apache.cocoon.auth.Application
Application.getAttribute(java.lang.String)
public void userDidLogin(org.apache.cocoon.auth.User user, Map context)
userDidLogin
in interface org.apache.cocoon.auth.Application
Application.userDidLogin(org.apache.cocoon.auth.User, java.util.Map)
public void userWillLogout(org.apache.cocoon.auth.User user, Map context)
userWillLogout
in interface org.apache.cocoon.auth.Application
Application.userWillLogout(org.apache.cocoon.auth.User, java.util.Map)
public void userIsAccessing(org.apache.cocoon.auth.User user)
userIsAccessing
in interface org.apache.cocoon.auth.Application
Application.userIsAccessing(org.apache.cocoon.auth.User)
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |