当前页面:
在线文档首页 >
JBoss Seam 1.1.1 API 英文版文档
SeamSecurityFilter (JBoss Seam API Documentation) - JBoss Seam 1.1.1 API 英文版文档
org.jboss.seam.security.filter
Class SeamSecurityFilter
java.lang.Object
org.jboss.seam.security.filter.SeamSecurityFilter
- All Implemented Interfaces:
- javax.servlet.Filter
public class SeamSecurityFilter
- extends Object
- implements javax.servlet.Filter
A servlet filter that performs authentication within a Seam application.
- Author:
- Shane Bryzak
Method Summary |
protected boolean |
checkSecurityConstraints(String uri,
String method,
Identity ident)
Performs a security check for a specified uri and method, for the specified
Identity |
void |
destroy()
|
void |
doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
|
void |
init(javax.servlet.FilterConfig filterConfig)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SeamSecurityFilter
public SeamSecurityFilter()
init
public void init(javax.servlet.FilterConfig filterConfig)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Filter
- Throws:
javax.servlet.ServletException
doFilter
public void doFilter(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response,
javax.servlet.FilterChain chain)
throws IOException,
javax.servlet.ServletException
- Specified by:
doFilter
in interface javax.servlet.Filter
- Parameters:
request
- ServletRequestresponse
- ServletResponsechain
- FilterChain
- Throws:
IOException
javax.servlet.ServletException
checkSecurityConstraints
protected boolean checkSecurityConstraints(String uri,
String method,
Identity ident)
- Performs a security check for a specified uri and method, for the specified
Identity
- Parameters:
uri
- Stringmethod
- Stringident
- Identity
- Returns:
- boolean
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Filter