站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss Seam 1.1.0 API 英文版文档

SecurityConfiguration (JBoss Seam API Documentation) - JBoss Seam 1.1.0 API 英文版文档


org.jboss.seam.security.config
Class SecurityConfiguration

java.lang.Object
  extended by org.jboss.seam.security.config.SecurityConfiguration

@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
extends Object

Security configuration component.

Author:
Shane Bryzak

Constructor Summary
SecurityConfiguration()
           
 
Method Summary
 Set<Role> getSecurityRoles()
           
 void init()
          Initialization
protected  void loadConfigFromStream(InputStream config)
          Loads the security configuration from the specified InputStream.
protected  void loadSecurityRoles(org.dom4j.Element securityRoleElement)
          Load the security roles
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConfiguration

public SecurityConfiguration()
Method Detail

init

@Create
public void init()
          throws SecurityConfigException
Initialization

Throws:
SecurityConfigException

loadConfigFromStream

protected void loadConfigFromStream(InputStream config)
                             throws SecurityConfigException
Loads the security configuration from the specified InputStream.

Parameters:
config - InputStream
Throws:
SecurityConfigException

getSecurityRoles

public Set<Role> getSecurityRoles()
Returns:
Set

loadSecurityRoles

protected void loadSecurityRoles(org.dom4j.Element securityRoleElement)
                          throws SecurityConfigException
Load the security roles

Parameters:
securityRoleElement - Element
Throws:
SecurityConfigurationException
SecurityConfigException