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

Author:
brozow

Constructor Summary
AntPatternBasedAuthenticationEntryPointChain()
           
 
Method Summary
 void afterPropertiesSet()
           
 void commence(ServletRequest request, ServletResponse response, org.springframework.security.AuthenticationException authException)
           
 void setMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint matchedEntryPoint)
           
 void setNonMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint unmatchedEntryPoint)
           
 void setPatterns(List<String> patterns)
           
 void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)
           
 
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)
Parameters:
patterns - the patterns to set

setMatchingEntryPoint

public void setMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint matchedEntryPoint)
Parameters:
matchedEntryPoint - the matchedEntryPoint to set

setNonMatchingEntryPoint

public void setNonMatchingEntryPoint(org.springframework.security.ui.AuthenticationEntryPoint unmatchedEntryPoint)
Parameters:
unmatchedEntryPoint - the unmatchedEntryPoint to set

setRequiresLowerCaseUrl

public void setRequiresLowerCaseUrl(boolean requiresLowerCaseUrl)

afterPropertiesSet

public void afterPropertiesSet()
                        throws Exception
Specified by:
afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
Throws:
Exception

commence

public void commence(ServletRequest request,
                     ServletResponse response,
                     org.springframework.security.AuthenticationException authException)
              throws IOException,
                     ServletException
Specified by:
commence in interface org.springframework.security.ui.AuthenticationEntryPoint
Throws:
IOException
ServletException


Copyright © 2009. All Rights Reserved.