Class SecuritySupport

java.lang.Object
cronapp.framework.security.SecuritySupport

public class SecuritySupport extends Object
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final org.springframework.security.web.util.matcher.RequestHeaderRequestMatcher
     
    static final org.springframework.security.web.util.matcher.RequestHeaderRequestMatcher
     
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    getProvider(org.springframework.security.core.Authentication authentication)
     
    static boolean
    isMobileDevice(jakarta.servlet.http.HttpServletRequest request)
     
    static boolean
    isSso(org.springframework.security.core.Authentication authentication)
     

    Methods inherited from class java.lang.Object

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

    • ENCRYPT

      public static final String ENCRYPT
      See Also:
    • X_REQUESTED_WITH

      public static final org.springframework.security.web.util.matcher.RequestHeaderRequestMatcher X_REQUESTED_WITH
    • X_AUTH_TOKEN

      public static final org.springframework.security.web.util.matcher.RequestHeaderRequestMatcher X_AUTH_TOKEN
  • Constructor Details

    • SecuritySupport

      public SecuritySupport()
  • Method Details

    • isMobileDevice

      public static boolean isMobileDevice(jakarta.servlet.http.HttpServletRequest request)
    • getProvider

      public static String getProvider(org.springframework.security.core.Authentication authentication)
    • isSso

      public static boolean isSso(org.springframework.security.core.Authentication authentication)