Class DefaultWingsAuthTypeSource

  • All Implemented Interfaces:
    pro.fessional.wings.slardar.security.WingsAuthTypeSource

    
    public class DefaultWingsAuthTypeSource
     implements WingsAuthTypeSource
                        

    Parse AuthType form header, param and path (PathPattern)

    Since:

    2021-02-08

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Enum<out Object> buildAuthType(HttpServletRequest request) Build the AuthType from the request
      • Methods inherited from class java.lang.Object

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

      • DefaultWingsAuthTypeSource

        DefaultWingsAuthTypeSource(String pathPattern, WingsAuthTypeParser typeParser)
        Parameters:
        pathPattern - Path variable in PathPattern
        typeParser - AuthType Parser
    • Method Detail

      • buildAuthType

        @NotNull() Enum<out Object> buildAuthType(HttpServletRequest request)

        Build the AuthType from the request

        Parameters:
        request - HttpServletRequest
        Returns:

        auth type