uk.ac.soton.itinnovation.grid.pbac2.pep
Class ServletFilterPEP

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.pbac2.pep.ServletFilterPEP
All Implemented Interfaces:
Filter

public class ServletFilterPEP
extends Object
implements Filter


Field Summary
static String CONTAINER_USER_NAME_TA
          TrustedAttribute name for the client's username, as determined by the container.
static String PBAC_RESOURCE_ATTRIBUTE
           
static String REQUIRED_ROLE_ATTRIBUTE
           
 
Constructor Summary
ServletFilterPEP()
           
 
Method Summary
 void destroy()
           
 void doFilter(ServletRequest request, ServletResponse response, FilterChain chain)
           
 void init(FilterConfig filterConfig)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

REQUIRED_ROLE_ATTRIBUTE

public static final String REQUIRED_ROLE_ATTRIBUTE
See Also:
Constant Field Values

PBAC_RESOURCE_ATTRIBUTE

public static final String PBAC_RESOURCE_ATTRIBUTE
See Also:
Constant Field Values

CONTAINER_USER_NAME_TA

public static final String CONTAINER_USER_NAME_TA
TrustedAttribute name for the client's username, as determined by the container.

See Also:
Constant Field Values
Constructor Detail

ServletFilterPEP

public ServletFilterPEP()
Method Detail

destroy

public void destroy()
Specified by:
destroy in interface Filter

doFilter

public void doFilter(ServletRequest request,
                     ServletResponse response,
                     FilterChain chain)
              throws ServletException,
                     IOException
Specified by:
doFilter in interface Filter
Throws:
ServletException
IOException

init

public void init(FilterConfig filterConfig)
          throws ServletException
Specified by:
init in interface Filter
Throws:
ServletException


Copyright © 2001-2007 University of Southampton IT Innovation Centre. All Rights Reserved.