|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.core.realm.DefaultChallenge
public class DefaultChallenge
A default implementation of Challenge.
Method Summary | |
---|---|
String |
getAuthType()
Gets the authentication type of the this challenge. |
String |
getDomain()
Gets the domain name of the this challenge. |
String |
getMessage()
Gets the current message. |
String |
getName()
Gets the name of the realm of this challenge. |
Principal |
getPrincipal()
Gets the authenticated principal when ready. |
String |
handshake(String msg)
Handshakes by switching messages. |
void |
release()
Releases this challenge. |
protected void |
setMessage(String msg)
Sets the current message. |
protected void |
setPrincipal(Principal princ)
Sets the authenticated principal. |
protected void |
setScheme(String scheme)
Sets the authentication type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public String getName()
Challenge
getName
in interface Challenge
public String getDomain()
Challenge
getDomain
in interface Challenge
public String getAuthType()
Challenge
getAuthType
in interface Challenge
public Principal getPrincipal()
Challenge
getPrincipal
in interface Challenge
public String getMessage()
Challenge
getMessage
in interface Challenge
public String handshake(String msg)
Challenge
handshake
in interface Challenge
msg
- the request.
public void release()
Challenge
release
in interface Challenge
protected void setScheme(String scheme)
scheme
- the authetication type.protected void setMessage(String msg)
msg
- the current message.protected void setPrincipal(Principal princ)
princ
- the principal.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |