public class AnonymousMechanism extends AbstractMechanism
Mechanism.PRIORITYEMPTY| Constructor and Description |
|---|
AnonymousMechanism() |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getChallengeResponse(byte[] challenge)
Create a response based on a given challenge from the remote peer.
|
byte[] |
getInitialResponse()
Create an initial response based on selected mechanism.
|
String |
getName() |
int |
getPriority() |
boolean |
isApplicable(String username,
String password,
Principal localPrincipal) |
compareTo, getPassword, getUsername, setPassword, setUsername, toStringpublic byte[] getInitialResponse()
Mechanismpublic byte[] getChallengeResponse(byte[] challenge)
Mechanismchallenge - the challenge that this Mechanism should response to.public int getPriority()
public String getName()
Copyright © 2013–2016 The Apache Software Foundation. All rights reserved.