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

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


org.jboss.seam.security.config
Class SecurityConfigFileLoader

java.lang.Object
  extended by org.jboss.seam.security.config.SecurityConfigFileLoader
All Implemented Interfaces:
SecurityConfigLoader

public class SecurityConfigFileLoader
extends Object
implements SecurityConfigLoader

Loads the security configuration from an XML configuration file.

Author:
Shane Bryzak

Constructor Summary
SecurityConfigFileLoader(InputStream config, javax.servlet.ServletContext servletContext)
          Constructor, loads the configuration from configFile.
 
Method Summary
 Handler getAuthenticator()
           
 AuthMethod getAuthMethod()
           
 Set<SecurityConstraint> getSecurityConstraints()
           
 Set<String> getSecurityRoles()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConfigFileLoader

public SecurityConfigFileLoader(InputStream config,
                                javax.servlet.ServletContext servletContext)
                         throws SecurityConfigException
Constructor, loads the configuration from configFile.

Throws:
SecurityConfigException
Method Detail

getSecurityConstraints

public Set<SecurityConstraint> getSecurityConstraints()
Specified by:
getSecurityConstraints in interface SecurityConfigLoader
Returns:
Set

getAuthMethod

public AuthMethod getAuthMethod()
Specified by:
getAuthMethod in interface SecurityConfigLoader
Returns:
AuthMethod

getAuthenticator

public Handler getAuthenticator()
Specified by:
getAuthenticator in interface SecurityConfigLoader
Returns:
Authenticator

getSecurityRoles

public Set<String> getSecurityRoles()
Specified by:
getSecurityRoles in interface SecurityConfigLoader
Returns:
Set