public interface LoginContextProvider
This provider defines a single method #getLoginContext(javax.jcr.Credentials, String)
that takes the credentials
and the workspace name such
as passed to org.apache.jackrabbit.oak.api.ContentRepository#login(javax.jcr.Credentials, String)
.
Modifier and Type | Method and Description |
---|---|
LoginContext |
getLoginContext(Credentials credentials,
java.lang.String workspaceName)
Returns a new login context instance for handling authentication.
|
LoginContext getLoginContext(Credentials credentials, java.lang.String workspaceName) throws javax.security.auth.login.LoginException
credentials
- The Credentials
such as passed to the
login
method of the repository.workspaceName
- The name of the workspace that is being accessed by
the login called.javax.security.auth.login.LoginException
- If an error occurs while creating a new context."Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"