|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.seam.security.config.SecurityConfiguration
@Startup @Scope(value=APPLICATION) @Name(value="org.jboss.seam.security.securityConfiguration") @Install(value=false, precedence=0, dependencies="org.jboss.seam.securityManager") @Intercept(value=NEVER) public class SecurityConfiguration
Security configuration component.
Nested Class Summary | |
---|---|
class |
SecurityConfiguration.Role
|
Field Summary | |
---|---|
static String |
DEFAULT_LOGIN_MODULE_NAME
|
Constructor Summary | |
---|---|
SecurityConfiguration()
|
Method Summary | |
---|---|
Configuration |
getLoginModuleConfiguration()
Returns the login module configuration |
Set<SecurityConstraint> |
getSecurityConstraints()
Returns the configured security constraints |
String |
getSecurityErrorPage()
|
SecurityConfiguration.Role |
getSecurityRole(String name)
|
void |
init()
Initialization |
static SecurityConfiguration |
instance()
|
protected void |
loadConfigFromStream(InputStream config)
Loads the security configuration from the specified InputStream. |
protected void |
loadLoginModules(List<org.dom4j.Element> policies)
|
protected void |
loadSecurityConstraints(List elements)
Load security constraints |
protected void |
loadSecurityRoles(org.dom4j.Element securityRoleElement)
Load the security roles |
void |
setSecurityErrorPage(String securityErrorPage)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String DEFAULT_LOGIN_MODULE_NAME
Constructor Detail |
---|
public SecurityConfiguration()
Method Detail |
---|
@Create public void init() throws SecurityConfigException
SecurityConfigException
public static SecurityConfiguration instance()
public void setSecurityErrorPage(String securityErrorPage)
public String getSecurityErrorPage()
public SecurityConfiguration.Role getSecurityRole(String name)
protected void loadConfigFromStream(InputStream config) throws SecurityConfigException
config
- InputStream
SecurityConfigException
public Set<SecurityConstraint> getSecurityConstraints()
public Configuration getLoginModuleConfiguration()
protected void loadSecurityConstraints(List elements) throws SecurityConfigException
elements
- List
SecurityConfigException
protected void loadSecurityRoles(org.dom4j.Element securityRoleElement) throws SecurityConfigException
securityRoleElement
- Element
SecurityConfigException
protected void loadLoginModules(List<org.dom4j.Element> policies) throws SecurityConfigException
SecurityConfigException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |