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

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


org.jboss.seam.security.config
Class SecurityConfig

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

public final class SecurityConfig
extends Object

Security Configuration interface.

Author:
Shane Bryzak

Method Summary
 Context getApplicationContext()
           
 AuthMethod getAuthMethod()
           
 Set<SecurityConstraint> getSecurityConstraints()
           
 Set<String> getSecurityRoles()
           
static SecurityConfig instance()
          Returns the SecurityConfig singleton
 void loadConfig(SecurityConfigLoader configLoader)
          Loads the configuration from the specified SecurityConfigLoader
 void setApplicationContext(Context ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

instance

public static SecurityConfig instance()
Returns the SecurityConfig singleton

Returns:
SecurityConfig

loadConfig

public void loadConfig(SecurityConfigLoader configLoader)
                throws SecurityConfigException
Loads the configuration from the specified SecurityConfigLoader

Parameters:
configLoader - SecurityConfigLoader
Throws:
SecurityConfigException

setApplicationContext

public void setApplicationContext(Context ctx)

getApplicationContext

public Context getApplicationContext()
Returns:
ServletContext

getSecurityConstraints

public Set<SecurityConstraint> getSecurityConstraints()
Returns:
Set

getAuthMethod

public AuthMethod getAuthMethod()
Returns:
AuthMethod

getSecurityRoles

public Set<String> getSecurityRoles()
Returns:
Set