Package tigase.auth.impl
Class PlainSPCallbackHandler
- java.lang.Object
-
- tigase.auth.impl.PlainSPCallbackHandler
-
- All Implemented Interfaces:
CallbackHandler,AuthRepositoryAware,Aware,DomainAware
@Deprecated public class PlainSPCallbackHandler extends Object implements CallbackHandler, AuthRepositoryAware, DomainAware
Deprecated.This is implementation of CallbackHandler to use with old AuthRepositories. Callback VerifyPasswordCallback uses method AuthRepositoryImpl.plainAuth(BareJID, String) to password verification.
-
-
Constructor Summary
Constructors Constructor Description PlainSPCallbackHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidhandle(Callback[] callbacks)Deprecated.protected voidhandleAuthorizeCallback(AuthorizeCallback authCallback)Deprecated.protected voidhandleCallback(Callback callback)Deprecated.protected voidhandleNameCallback(NameCallback nc)Deprecated.protected voidhandleRealmCallback(RealmCallback rc)Deprecated.protected voidhandleVerifyPasswordCallback(VerifyPasswordCallback pc)Deprecated.voidsetAuthRepository(AuthRepository repo)Deprecated.Sets AuthRepository.voidsetDomain(String domain)Deprecated.Sets name of domain from XMPP Stream.
-
-
-
Field Detail
-
domain
protected String domain
Deprecated.
-
jid
protected BareJID jid
Deprecated.
-
log
protected Logger log
Deprecated.
-
repo
protected AuthRepository repo
Deprecated.
-
-
Method Detail
-
handle
public void handle(Callback[] callbacks) throws IOException, UnsupportedCallbackException
Deprecated.- Specified by:
handlein interfaceCallbackHandler- Throws:
IOExceptionUnsupportedCallbackException
-
setAuthRepository
public void setAuthRepository(AuthRepository repo)
Deprecated.Description copied from interface:AuthRepositoryAwareSets AuthRepository.- Specified by:
setAuthRepositoryin interfaceAuthRepositoryAware- Parameters:
repo- AuthRepository.
-
setDomain
public void setDomain(String domain)
Deprecated.Description copied from interface:DomainAwareSets name of domain from XMPP Stream.- Specified by:
setDomainin interfaceDomainAware- Parameters:
domain- domain name
-
handleAuthorizeCallback
protected void handleAuthorizeCallback(AuthorizeCallback authCallback)
Deprecated.
-
handleCallback
protected void handleCallback(Callback callback) throws UnsupportedCallbackException, IOException
Deprecated.
-
handleNameCallback
protected void handleNameCallback(NameCallback nc) throws IOException
Deprecated.- Throws:
IOException
-
handleRealmCallback
protected void handleRealmCallback(RealmCallback rc) throws IOException
Deprecated.- Throws:
IOException
-
handleVerifyPasswordCallback
protected void handleVerifyPasswordCallback(VerifyPasswordCallback pc) throws IOException
Deprecated.- Throws:
IOException
-
-