public class AuthingConnection extends PresentsConnection
PresentsConnection.MessageHandlerselkey| Constructor and Description |
|---|
AuthingConnection() |
| Modifier and Type | Method and Description |
|---|---|
Name |
getAuthName()
Returns the username that uniquely identifies this authenticated session.
|
AuthRequest |
getAuthRequest()
Returns a reference to the auth request currently being processed.
|
AuthResponse |
getAuthResponse()
Returns the auth response delivered to the client (only valid after the auth request has
been processed.
|
void |
setAuthName(Name authname)
During the authentication process, the authenticator must establish the client's
authentication username and configure it via this method.
|
void |
setAuthResponse(AuthResponse authrsp)
Stores a reference to the auth response delivered to this connection.
|
String |
toString() |
clearMessageHandler, getDatagramAddress, getDatagramChannel, getTransmitDatagrams, handleDatagram, handleEvent, init, postMessage, setClassLoader, setDatagramSecret, setMessageHandler, setTransmitDatagramsasyncClose, becameIdle, checkIdle, close, connectFailure, getChannel, getConnectionId, getInetAddress, isClosed, networkFailurepublic AuthRequest getAuthRequest()
public AuthResponse getAuthResponse()
public void setAuthResponse(AuthResponse authrsp)
public Name getAuthName()
Name -> PresentsSession in the ClientManager and used elsewhere.public void setAuthName(Name authname)
public String toString()
toString in class ConnectionCopyright © 2015. All rights reserved.