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
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreate(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo) protected StringgetHandlerClassname(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
createin interfaceCallbackHandlerFactoryIfc- Throws:
ClassNotFoundExceptionInstantiationExceptionIllegalAccessException
-
getHandlerClassname
protected String getHandlerClassname(String mechanismName, XMPPResourceConnection session, NonAuthUserRepository repo)
-