Class PowerAuthAnnotationInterceptor

java.lang.Object
org.springframework.web.servlet.handler.HandlerInterceptorAdapter
io.getlime.security.powerauth.rest.api.spring.annotation.PowerAuthAnnotationInterceptor
All Implemented Interfaces:
org.springframework.web.servlet.AsyncHandlerInterceptor, org.springframework.web.servlet.HandlerInterceptor

@Component
public class PowerAuthAnnotationInterceptor
extends org.springframework.web.servlet.handler.HandlerInterceptorAdapter
  • Constructor Summary

    Constructors
    Constructor Description
    PowerAuthAnnotationInterceptor()  
  • Method Summary

    Modifier and Type Method Description
    boolean preHandle​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler)  
    void setAuthenticationProvider​(PowerAuthAuthenticationProvider authenticationProvider)  
    void setEncryptionProvider​(PowerAuthEncryptionProvider encryptionProvider)  

    Methods inherited from class org.springframework.web.servlet.handler.HandlerInterceptorAdapter

    afterCompletion, afterConcurrentHandlingStarted, postHandle

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • PowerAuthAnnotationInterceptor

      public PowerAuthAnnotationInterceptor()
  • Method Details

    • setAuthenticationProvider

      @Autowired public void setAuthenticationProvider​(PowerAuthAuthenticationProvider authenticationProvider)
    • setEncryptionProvider

      @Autowired public void setEncryptionProvider​(PowerAuthEncryptionProvider encryptionProvider)
    • preHandle

      public boolean preHandle​(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.Object handler) throws java.lang.Exception
      Specified by:
      preHandle in interface org.springframework.web.servlet.HandlerInterceptor
      Overrides:
      preHandle in class org.springframework.web.servlet.handler.HandlerInterceptorAdapter
      Throws:
      java.lang.Exception