public class AuthRepoPlainCallbackHandler extends Object implements CallbackHandler, AuthRepositoryAware, DomainAware
Modifier and Type | Field and Description |
---|---|
protected String |
domain |
protected tigase.xmpp.BareJID |
jid |
protected Logger |
log
Field description
|
protected AuthRepository |
repo |
Constructor and Description |
---|
AuthRepoPlainCallbackHandler() |
Modifier and Type | Method and Description |
---|---|
void |
handle(Callback[] callbacks)
Method description
|
protected void |
handleAuthorizeCallback(AuthorizeCallback authCallback) |
protected void |
handleCallback(Callback callback) |
protected void |
handleNameCallback(NameCallback nc) |
protected void |
handleRealmCallback(RealmCallback rc) |
protected void |
handleVerifyPasswordCallback(VerifyPasswordCallback pc) |
void |
setAuthRepository(AuthRepository repo)
Method description
|
void |
setDomain(String domain)
Method description
|
protected String domain
protected tigase.xmpp.BareJID jid
protected Logger log
protected AuthRepository repo
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
handle
in interface CallbackHandler
callbacks
- IOException
UnsupportedCallbackException
protected void handleAuthorizeCallback(AuthorizeCallback authCallback)
protected void handleCallback(Callback callback) throws UnsupportedCallbackException, IOException
protected void handleNameCallback(NameCallback nc) throws IOException
IOException
protected void handleRealmCallback(RealmCallback rc) throws IOException
IOException
protected void handleVerifyPasswordCallback(VerifyPasswordCallback pc) throws IOException
IOException
public void setAuthRepository(AuthRepository repo)
setAuthRepository
in interface AuthRepositoryAware
repo
- public void setDomain(String domain)
setDomain
in interface DomainAware
domain
- Copyright © 2014 "Tigase, Inc.". All rights reserved.