站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > 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
  extended by 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

Constructor Summary
SeamSecurityFilter()
           
 
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
 

Constructor Detail

SeamSecurityFilter

public SeamSecurityFilter()
Method Detail

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 - ServletRequest
response - ServletResponse
chain - 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 - String
method - String
ident - Identity
Returns:
boolean

destroy

public void destroy()
Specified by:
destroy in interface javax.servlet.Filter