Class PrincipalProviderCallback
java.lang.Object
org.apache.jackrabbit.oak.spi.security.authentication.callback.PrincipalProviderCallback
- All Implemented Interfaces:
Callback
Callback implementation used to pass a
PrincipalProvider
to the
login module.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the principal provider as set usingsetPrincipalProvider(org.apache.jackrabbit.oak.spi.security.principal.PrincipalProvider)
ornull
.void
setPrincipalProvider
(PrincipalProvider principalProvider) Sets thePrincipalProvider
that is being used during the authentication process.
-
Constructor Details
-
PrincipalProviderCallback
public PrincipalProviderCallback()
-
-
Method Details
-
getPrincipalProvider
Returns the principal provider as set usingsetPrincipalProvider(org.apache.jackrabbit.oak.spi.security.principal.PrincipalProvider)
ornull
.- Returns:
- an instance of
PrincipalProvider
ornull
if no provider has been set before.
-
setPrincipalProvider
Sets thePrincipalProvider
that is being used during the authentication process.- Parameters:
principalProvider
- The principal provider to use during the authentication process.
-