Package tigase.auth.impl
Class AuthRepoPlainCallbackHandler
- java.lang.Object
-
- tigase.auth.impl.AuthRepoPlainCallbackHandler
-
- All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler,AuthRepositoryAware,Aware,DomainAware
@Deprecated public class AuthRepoPlainCallbackHandler extends java.lang.Object implements javax.security.auth.callback.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 AuthRepoPlainCallbackHandler()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description voidhandle(javax.security.auth.callback.Callback[] callbacks)Deprecated.protected voidhandleAuthorizeCallback(javax.security.sasl.AuthorizeCallback authCallback)Deprecated.protected voidhandleCallback(javax.security.auth.callback.Callback callback)Deprecated.protected voidhandleNameCallback(javax.security.auth.callback.NameCallback nc)Deprecated.protected voidhandleRealmCallback(javax.security.sasl.RealmCallback rc)Deprecated.protected voidhandleVerifyPasswordCallback(VerifyPasswordCallback pc)Deprecated.voidsetAuthRepository(AuthRepository repo)Deprecated.Sets AuthRepository.voidsetDomain(java.lang.String domain)Deprecated.Sets name of domain from XMPP Stream.
-
-
-
Field Detail
-
domain
protected java.lang.String domain
Deprecated.
-
jid
protected BareJID jid
Deprecated.
-
log
protected java.util.logging.Logger log
Deprecated.
-
repo
protected AuthRepository repo
Deprecated.
-
-
Method Detail
-
handle
public void handle(javax.security.auth.callback.Callback[] callbacks) throws java.io.IOException, javax.security.auth.callback.UnsupportedCallbackExceptionDeprecated.- Specified by:
handlein interfacejavax.security.auth.callback.CallbackHandler- Throws:
java.io.IOExceptionjavax.security.auth.callback.UnsupportedCallbackException
-
setAuthRepository
public void setAuthRepository(AuthRepository repo)
Deprecated.Description copied from interface:AuthRepositoryAwareSets AuthRepository.- Specified by:
setAuthRepositoryin interfaceAuthRepositoryAware- Parameters:
repo- AuthRepository.
-
setDomain
public void setDomain(java.lang.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(javax.security.sasl.AuthorizeCallback authCallback) throws javax.security.sasl.SaslExceptionDeprecated.- Throws:
javax.security.sasl.SaslException
-
handleCallback
protected void handleCallback(javax.security.auth.callback.Callback callback) throws javax.security.auth.callback.UnsupportedCallbackException, java.io.IOExceptionDeprecated.- Throws:
javax.security.auth.callback.UnsupportedCallbackExceptionjava.io.IOException
-
handleNameCallback
protected void handleNameCallback(javax.security.auth.callback.NameCallback nc) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
handleRealmCallback
protected void handleRealmCallback(javax.security.sasl.RealmCallback rc) throws java.io.IOExceptionDeprecated.- Throws:
java.io.IOException
-
handleVerifyPasswordCallback
protected void handleVerifyPasswordCallback(VerifyPasswordCallback pc) throws java.io.IOException
Deprecated.- Throws:
java.io.IOException
-
-