Class PrincipalProviderCallback
- java.lang.Object
-
- org.apache.jackrabbit.oak.spi.security.authentication.callback.PrincipalProviderCallback
-
- All Implemented Interfaces:
javax.security.auth.callback.Callback
public class PrincipalProviderCallback extends java.lang.Object implements javax.security.auth.callback.Callback
Callback implementation used to pass aPrincipalProvider
to the login module.
-
-
Constructor Summary
Constructors Constructor Description PrincipalProviderCallback()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrincipalProvider
getPrincipalProvider()
Returns 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.
-
-
-
Method Detail
-
getPrincipalProvider
public PrincipalProvider 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
public void setPrincipalProvider(PrincipalProvider principalProvider)
Sets thePrincipalProvider
that is being used during the authentication process.- Parameters:
principalProvider
- The principal provider to use during the authentication process.
-
-