jrun.servlet.security
Interface WebAppSecurityServiceMBean
- All Superinterfaces:
- ConfigurableServicePartitionMBean, java.io.Serializable, Service, ServiceMBean, ServicePartitionMBean
- All Known Subinterfaces:
- WebAppSecurity
- public interface WebAppSecurityServiceMBean
- extends ConfigurableServicePartitionMBean
Processes and stores security data for a web application. It parses the web.xml
and creates WebAppAuthenticationFactorys and SecurityFilters. It also finds
the JRunSecurityManager.
- Author:
- Brian Deitte
| Methods inherited from interface jrunx.kernel.ServiceMBean |
bind, getBindToJNDI, getDeactivated, getDomainName, getJRunService, getLogger, getName, getParentService, getServerName, requestServer, setBindToJNDI, setDeactivated, setDomainName, setName, setParentService, unbind |
getWebAppSecurity
public WebAppSecurity getWebAppSecurity()
getLoginPage
public java.lang.String getLoginPage()
getErrorPage
public java.lang.String getErrorPage()
logoff
public void logoff(javax.servlet.http.HttpSession session,
java.lang.Object contextId)
authenticate
public AuthenticatedPrincipal authenticate(java.lang.String username,
java.lang.String password,
javax.servlet.http.HttpSession session)
throws java.lang.Exception
isAuthorized
public boolean isAuthorized(java.security.Principal user,
java.util.Collection roleNames)
isPrincipalInRole
public boolean isPrincipalInRole(java.security.Principal user,
java.lang.String role)
getServletRoleRefs
public java.util.Map getServletRoleRefs()
getWebAppMetaData
public WebAppMetaData getWebAppMetaData()
Copyright � 2002 Macromedia Corporation. All Rights Reserved.