public interface UserAuth extends ClientSessionHolder, UserAuthInstance<ClientSession>
BY_NAME_COMPARATOR, NAME_EXTRACTOR| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Called to release any allocated resources
|
void |
init(ClientSession session,
java.lang.String service) |
boolean |
process(Buffer buffer) |
getClientSessiongetSessionfindByName, getName, getNameList, getNames, ofName, removeByNamevoid init(ClientSession session, java.lang.String service) throws java.lang.Exception
session - The ClientSessionservice - The requesting service namejava.lang.Exception - If failed to initialize the mechanismboolean process(Buffer buffer) throws java.lang.Exception
buffer - The Buffer to process - null if not a response buffer, i.e., the underlying
authentication mechanism should initiate whatever challenge/response mechanism is requiredtrue if request handled - false if the next authentication mechanism should be
usedjava.lang.Exception - If failed to process the requestvoid destroy()