Search in sources :

Example 1 with SimpleNonceManager

use of io.undertow.security.impl.SimpleNonceManager in project undertow by undertow-io.

the class DigestAuthentication2069TestCase method getTestMechanisms.

@Override
protected List<AuthenticationMechanism> getTestMechanisms() {
    List<DigestQop> qopList = Collections.emptyList();
    AuthenticationMechanism mechanism = new DigestAuthenticationMechanism(Collections.singletonList(DigestAlgorithm.MD5), qopList, REALM_NAME, "/", new SimpleNonceManager());
    return Collections.singletonList(mechanism);
}
Also used : DigestQop(io.undertow.security.impl.DigestQop) DigestAuthenticationMechanism(io.undertow.security.impl.DigestAuthenticationMechanism) DigestAuthenticationMechanism(io.undertow.security.impl.DigestAuthenticationMechanism) AuthenticationMechanism(io.undertow.security.api.AuthenticationMechanism) SimpleNonceManager(io.undertow.security.impl.SimpleNonceManager)

Aggregations

AuthenticationMechanism (io.undertow.security.api.AuthenticationMechanism)1 DigestAuthenticationMechanism (io.undertow.security.impl.DigestAuthenticationMechanism)1 DigestQop (io.undertow.security.impl.DigestQop)1 SimpleNonceManager (io.undertow.security.impl.SimpleNonceManager)1