com.caucho.server.security
Class ConstraintManager

java.lang.Object
  extended by com.caucho.server.dispatch.FilterChainBuilder
      extended by com.caucho.server.security.ConstraintManager

public class ConstraintManager
extends FilterChainBuilder

Manages security constraint.


Constructor Summary
ConstraintManager()
           
 
Method Summary
 void addConstraint(SecurityConstraint constraint)
           
 FilterChain build(FilterChain next, Invocation invocation)
          Builds a filter chain dynamically based on the invocation.
 FilterChainBuilder getFilterBuilder()
           
 boolean hasConstraintForUrlPattern(java.lang.String pattern)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstraintManager

public ConstraintManager()
Method Detail

addConstraint

public void addConstraint(SecurityConstraint constraint)

getFilterBuilder

public FilterChainBuilder getFilterBuilder()

build

public FilterChain build(FilterChain next,
                         Invocation invocation)
Builds a filter chain dynamically based on the invocation.

Specified by:
build in class FilterChainBuilder
Parameters:
next - the next filter in the chain.
invocation - the request's invocation.

hasConstraintForUrlPattern

public boolean hasConstraintForUrlPattern(java.lang.String pattern)