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,
String service) |
boolean |
process(Buffer buffer) |
getClientSessiongetSessionfindByName, getName, getNameList, getNames, removeByNamevoid init(ClientSession session, String service) throws Exception
session - The ClientSessionservice - The requesting service nameException - If failed to initialize the mechanismboolean process(Buffer buffer) throws 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 usedException - If failed to process the requestvoid destroy()
Copyright © 2008–2017 The Apache Software Foundation. All rights reserved.