Class UserManagerCallback
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.callback.UserManagerCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class UserManagerCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback implementation used to pass aUserManager
to the login module.
-
-
Constructor Summary
Constructors Constructor Description UserManagerCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UserManager
getUserManager()
Returns the user provider as set usingsetUserManager(org.apache.jackrabbit.api.security.user.UserManager)
ornull
.void
setUserManager(UserManager userManager)
Sets theUserManager
that is being used during the authentication process.
-
-
-
Method Detail
-
getUserManager
public UserManager getUserManager()
Returns the user provider as set usingsetUserManager(org.apache.jackrabbit.api.security.user.UserManager)
ornull
.- Returns:
- an instance of
UserManager
ornull
if no provider has been set before.
-
setUserManager
public void setUserManager(UserManager userManager)
Sets theUserManager
that is being used during the authentication process.- Parameters:
userManager
- The user provider to use during the authentication process.
-
-