当前页面:
在线文档首页 >
JBoss Seam 1.1.0 bate1 API 英文版文档
SecurityConfigFileLoader (JBoss Seam API Documentation) - JBoss Seam 1.1.0 bate1 API 英文版文档
org.jboss.seam.security.config
Class SecurityConfigFileLoader
java.lang.Object
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SecurityConfigFileLoader
public SecurityConfigFileLoader(InputStream config,
javax.servlet.ServletContext servletContext)
throws SecurityConfigException
- Constructor, loads the configuration from configFile.
- Parameters:
configFile
- File
- Throws:
SecurityConfigException
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