Interface AuthMechanism

  • All Superinterfaces:
    io.undertow.security.api.AuthenticationMechanism, ConfigurablePlugin, Plugin

    public interface AuthMechanism
    extends io.undertow.security.api.AuthenticationMechanism, ConfigurablePlugin
    Author:
    Andrea Di Cesare
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface io.undertow.security.api.AuthenticationMechanism

        io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome, io.undertow.security.api.AuthenticationMechanism.ChallengeResult
    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      io.undertow.security.api.AuthenticationMechanism.AuthenticationMechanismOutcome authenticate​(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)  
      default String getMechanismName()  
      io.undertow.security.api.AuthenticationMechanism.ChallengeResult sendChallenge​(io.undertow.server.HttpServerExchange exchange, io.undertow.security.api.SecurityContext securityContext)  
    • Method Detail

      • authenticate

        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
      • sendChallenge

        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
      • getMechanismName

        default String getMechanismName()