org.opennms.web.springframework.security
Class AntPatternBasedAuthenticationEntryPointChain

java.lang.Object
  extended by org.opennms.web.springframework.security.AntPatternBasedAuthenticationEntryPointChain
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.security.ui.AuthenticationEntryPoint

public class AntPatternBasedAuthenticationEntryPointChain
extends Object
implements org.springframework.security.ui.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBean

PatternBasedAuthenticationEntryPointWrapper


Constructor Summary
AntPatternBasedAuthenticationEntryPointChain()
           
 
Method Summary
 void afterPropertiesSet()
          afterPropertiesSet
 void commence(javax.servlet.ServletRequest request, javax.servlet.ServletResponse response, org.springframework.security.AuthenticationException authException)
          
 void setMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint matchedEntryPoint)
          setMatchingEntryPoint
 void setNonMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint unmatchedEntryPoint)
          setNonMatchingEntryPoint
 void setPatterns(List<String> patterns)
          setPatterns
 void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
          setRequiresLowerCaseUrl
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AntPatternBasedAuthenticationEntryPointChain

public AntPatternBasedAuthenticationEntryPointChain()
Method Detail

setPatterns

public void setPatterns(List<String> patterns)

setPatterns

Parameters:
patterns - the patterns to set

setMatchingEntryPoint

public void setMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint matchedEntryPoint)

setMatchingEntryPoint

Parameters:
matchedEntryPoint - the matchedEntryPoint to set

setNonMatchingEntryPoint

public void setNonMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint unmatchedEntryPoint)

setNonMatchingEntryPoint

Parameters:
unmatchedEntryPoint - the unmatchedEntryPoint to set

setRequiresLowerCaseUrl

public void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)

setRequiresLowerCaseUrl

Parameters:
requiresLowerCaseUrl - a boolean.

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception

afterPropertiesSet

Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception - if any.

commence

public void commence(javax.servlet.ServletRequest request,
                     javax.servlet.ServletResponse response,
                     org.springframework.security.AuthenticationException authException)
              throws IOException,
                     javax.servlet.ServletException

Specified by:
commence in interface org.springframework.security.ui.AuthenticationEntryPoint
Throws:
IOException
javax.servlet.ServletException


Copyright © 2011. All Rights Reserved.