public interface UserAuth extends ClientSessionHolder, UserAuthInstance<ClientSession>
NamedResource.Utils
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) |
getClientSession
getSession
getName
void init(ClientSession session, String service) throws Exception
session
- The ClientSession
service
- 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–2016 The Apache Software Foundation. All rights reserved.