Class SpringSecurityHandler

java.lang.Object
org.frankframework.core.SpringSecurityHandler
All Implemented Interfaces:
ISecurityHandler

public class SpringSecurityHandler extends Object implements ISecurityHandler
ISecurityHandler implementation that uses Spring Security's SecurityContextHolder to retrieve the user information. Since the application is fully based on spring and spring security, the SecurityContextHolder should always be filled for urls where security is enabled.
Author:
evandongen
  • Constructor Details

    • SpringSecurityHandler

      public SpringSecurityHandler()
  • Method Details

    • isUserInRole

      public boolean isUserInRole(String role) throws org.apache.commons.lang3.NotImplementedException
      Specified by:
      isUserInRole in interface ISecurityHandler
      Throws:
      org.apache.commons.lang3.NotImplementedException
    • getPrincipal

      public Principal getPrincipal() throws org.apache.commons.lang3.NotImplementedException
      Specified by:
      getPrincipal in interface ISecurityHandler
      Throws:
      org.apache.commons.lang3.NotImplementedException