Class UserAuthenticator

  • All Implemented Interfaces:
    io.dropwizard.auth.Authenticator<org.jose4j.jwt.consumer.JwtContext,​ServiceUser>

    public class UserAuthenticator
    extends java.lang.Object
    implements io.dropwizard.auth.Authenticator<org.jose4j.jwt.consumer.JwtContext,​ServiceUser>
    • Method Summary

      Modifier and Type Method Description
      java.util.Optional<ServiceUser> authenticate​(org.jose4j.jwt.consumer.JwtContext context)  
      • Methods inherited from class java.lang.Object

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

      • UserAuthenticator

        public UserAuthenticator()
    • Method Detail

      • authenticate

        public java.util.Optional<ServiceUser> authenticate​(org.jose4j.jwt.consumer.JwtContext context)
                                                     throws io.dropwizard.auth.AuthenticationException
        Specified by:
        authenticate in interface io.dropwizard.auth.Authenticator<org.jose4j.jwt.consumer.JwtContext,​ServiceUser>
        Throws:
        io.dropwizard.auth.AuthenticationException