io.undertow.security.impl.DigestAuthenticationMechanism Java Examples
The following examples show how to use
io.undertow.security.impl.DigestAuthenticationMechanism.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: DigestAuthentication2069TestCase.java From quarkus-http with Apache License 2.0 | 5 votes |
@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); }
Example #2
Source File: LogoutHandler.java From wildfly-core with GNU Lesser General Public License v2.1 | 5 votes |
public LogoutHandler(final String realmName) { List<DigestAlgorithm> digestAlgorithms = Collections.singletonList(DigestAlgorithm.MD5); List<DigestQop> digestQops = Collections.emptyList(); digestMechanism = new DigestAuthenticationMechanism(digestAlgorithms, digestQops, realmName, "/management", new SimpleNonceManager()); fakeRealmdigestMechanism = new DigestAuthenticationMechanism(digestAlgorithms, digestQops, HIT_ESCAPE, "/management", new SimpleNonceManager()); basicMechanism = new BasicAuthenticationMechanism(realmName); fakeRealmBasicMechanism = new BasicAuthenticationMechanism(HIT_ESCAPE); }
Example #3
Source File: DigestAuthenticationAuthTestCase.java From quarkus-http with Apache License 2.0 | 4 votes |
static AuthenticationMechanism getTestMechanism() { return new DigestAuthenticationMechanism(Collections.singletonList(DigestAlgorithm.MD5), Collections.singletonList(DigestQop.AUTH), REALM_NAME, "/", new SimpleNonceManager()); }