Class AntPatternBasedAuthenticationEntryPointChain
- java.lang.Object
-
- org.opennms.web.springframework.security.AntPatternBasedAuthenticationEntryPointChain
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean,org.springframework.security.web.AuthenticationEntryPoint
public class AntPatternBasedAuthenticationEntryPointChain extends java.lang.Object implements org.springframework.security.web.AuthenticationEntryPoint, org.springframework.beans.factory.InitializingBeanPatternBasedAuthenticationEntryPointWrapper
-
-
Constructor Summary
Constructors Constructor Description AntPatternBasedAuthenticationEntryPointChain()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPropertiesSet()afterPropertiesSetvoidcommence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException)voidsetMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)setMatchingEntryPointvoidsetNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)setNonMatchingEntryPointvoidsetPatterns(java.util.List<java.lang.String> patterns)setPatterns
-
-
-
Method Detail
-
setPatterns
public void setPatterns(java.util.List<java.lang.String> patterns)
setPatterns
- Parameters:
patterns- the patterns to set
-
setMatchingEntryPoint
public void setMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint matchedEntryPoint)
setMatchingEntryPoint
- Parameters:
matchedEntryPoint- the matchedEntryPoint to set
-
setNonMatchingEntryPoint
public void setNonMatchingEntryPoint(org.springframework.security.web.AuthenticationEntryPoint unmatchedEntryPoint)
setNonMatchingEntryPoint
- Parameters:
unmatchedEntryPoint- the unmatchedEntryPoint to set
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.ExceptionafterPropertiesSet
- Specified by:
afterPropertiesSetin interfaceorg.springframework.beans.factory.InitializingBean- Throws:
java.lang.Exception- if any.
-
commence
public void commence(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, org.springframework.security.core.AuthenticationException authException) throws java.io.IOException, javax.servlet.ServletException- Specified by:
commencein interfaceorg.springframework.security.web.AuthenticationEntryPoint- Throws:
java.io.IOExceptionjavax.servlet.ServletException
-
-