|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.norther.tammi.spray.authenticator.SessionChallenge
public class SessionChallenge
A challenge adapter to be maintain in a session to release its resources when unbound.
Constructor Summary | |
---|---|
SessionChallenge(Challenge chal)
Constructs a new 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. |
void |
valueBound(HttpSessionBindingEvent event)
|
void |
valueUnbound(HttpSessionBindingEvent event)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public SessionChallenge(Challenge chal)
chal
- the challenge adaptee.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 String getMessage()
Challenge
getMessage
in interface Challenge
public Principal getPrincipal()
Challenge
getPrincipal
in interface Challenge
public String handshake(String msg)
Challenge
handshake
in interface Challenge
msg
- the request.
public void release()
Challenge
release
in interface Challenge
public void valueBound(HttpSessionBindingEvent event)
valueBound
in interface HttpSessionBindingListener
public void valueUnbound(HttpSessionBindingEvent event)
valueUnbound
in interface HttpSessionBindingListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |