Class AuthenticationService

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable

    public class AuthenticationService
    extends java.lang.Object
    implements java.io.Closeable
    Authentication service.
    • Method Detail

      • authenticateHttpRequest

        public java.lang.String authenticateHttpRequest​(javax.servlet.http.HttpServletRequest request)
                                                 throws javax.naming.AuthenticationException
        Throws:
        javax.naming.AuthenticationException
      • getAuthenticationProvider

        public AuthenticationProvider getAuthenticationProvider​(java.lang.String authMethodName)
      • getAnonymousUserRole

        public java.util.Optional<java.lang.String> getAnonymousUserRole()
      • close

        public void close()
                   throws java.io.IOException
        Specified by:
        close in interface java.lang.AutoCloseable
        Specified by:
        close in interface java.io.Closeable
        Throws:
        java.io.IOException