Class DigestAuthMechanism

    • Constructor Detail

      • DigestAuthMechanism

        public DigestAuthMechanism​(String mechanismName,
                                   List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
                                   List<io.undertow.security.impl.DigestQop> supportedQops,
                                   String realmName,
                                   String domain,
                                   io.undertow.security.api.NonceManager nonceManager)
      • DigestAuthMechanism

        public DigestAuthMechanism​(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
                                   List<io.undertow.security.impl.DigestQop> supportedQops,
                                   String realmName,
                                   String domain,
                                   io.undertow.security.api.NonceManager nonceManager,
                                   String mechanismName)
      • DigestAuthMechanism

        public DigestAuthMechanism​(List<io.undertow.security.idm.DigestAlgorithm> supportedAlgorithms,
                                   List<io.undertow.security.impl.DigestQop> supportedQops,
                                   String realmName,
                                   String domain,
                                   io.undertow.security.api.NonceManager nonceManager,
                                   String mechanismName,
                                   io.undertow.security.idm.IdentityManager identityManager)
      • DigestAuthMechanism

        public DigestAuthMechanism​(String realmName,
                                   String domain,
                                   String mechanismName)
      • DigestAuthMechanism

        public DigestAuthMechanism​(String realmName,
                                   String domain,
                                   String mechanismName,
                                   io.undertow.security.idm.IdentityManager identityManager)
    • Method Detail

      • sendChallenge

        public io.undertow.security.api.AuthenticationMechanism.ChallengeResult sendChallenge​(io.undertow.server.HttpServerExchange exchange,
                                                                                              io.undertow.security.api.SecurityContext securityContext)
        Specified by:
        sendChallenge in interface io.undertow.security.api.AuthenticationMechanism
        Specified by:
        sendChallenge in interface AuthMechanism
      • authenticate

        public io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate​(io.undertow.server.HttpServerExchange exchange,
                                                                                                            io.undertow.security.api.SecurityContext securityContext)
        Specified by:
        authenticate in interface io.undertow.security.api.AuthenticationMechanism
        Specified by:
        authenticate in interface AuthMechanism
      • sendAuthenticationInfoHeader

        public void sendAuthenticationInfoHeader​(io.undertow.server.HttpServerExchange exchange)