Package tigase.auth
Class CallbackHandlerFactory
java.lang.Object
tigase.auth.CallbackHandlerFactory
- All Implemented Interfaces:
CallbackHandlerFactoryIfc
@Bean(name="callback-handler-factory",
parent=TigaseSaslProvider.class,
active=true)
public class CallbackHandlerFactory
extends Object
implements CallbackHandlerFactoryIfc
Factory of CallbackHandlers.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo) protected String
getHandlerClassname
(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface tigase.auth.callbacks.CallbackHandlerFactoryIfc
create
-
Field Details
-
AUTH_JID
- See Also:
-
-
Constructor Details
-
CallbackHandlerFactory
public CallbackHandlerFactory()
-
-
Method Details
-
create
public CallbackHandler create(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo) throws ClassNotFoundException, InstantiationException, IllegalAccessException - Specified by:
create
in interfaceCallbackHandlerFactoryIfc
- Throws:
ClassNotFoundException
InstantiationException
IllegalAccessException
-
getHandlerClassname
protected String getHandlerClassname(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo)
-