Package tigase.auth.impl
Class XTokenCallbackHandler
java.lang.Object
tigase.auth.impl.XTokenCallbackHandler
- All Implemented Interfaces:
CallbackHandler
,AuthRepositoryAware
,Aware
,DomainAware
,SessionAware
public class XTokenCallbackHandler
extends Object
implements CallbackHandler, AuthRepositoryAware, DomainAware, SessionAware
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
protected void
handleAuthorizeCallback
(AuthorizeCallback authCallback) protected void
handleCallback
(Callback callback) protected void
protected void
protected void
void
Sets AuthRepository.void
Sets name of domain from XMPP Stream.void
setSession
(XMPPResourceConnection session) Sets XMPP Session.
-
Field Details
-
domain
-
jid
-
log
-
repo
-
-
Constructor Details
-
XTokenCallbackHandler
public XTokenCallbackHandler()
-
-
Method Details
-
handle
- Specified by:
handle
in interfaceCallbackHandler
- Throws:
IOException
UnsupportedCallbackException
-
setAuthRepository
Description copied from interface:AuthRepositoryAware
Sets AuthRepository.- Specified by:
setAuthRepository
in interfaceAuthRepositoryAware
- Parameters:
repo
- AuthRepository.
-
setDomain
Description copied from interface:DomainAware
Sets name of domain from XMPP Stream.- Specified by:
setDomain
in interfaceDomainAware
- Parameters:
domain
- domain name
-
setSession
Description copied from interface:SessionAware
Sets XMPP Session.- Specified by:
setSession
in interfaceSessionAware
- Parameters:
session
- XMPP session.
-
handleAuthorizeCallback
-
handleCallback
-
handleNameCallback
- Throws:
IOException
-
handleRealmCallback
- Throws:
IOException
-
handleServerKeyCallback
- Throws:
IOException
-