public class CredentialsCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Credentials
.Constructor and Description |
---|
CredentialsCallback() |
Modifier and Type | Method and Description |
---|---|
Credentials |
getCredentials()
Returns the
Credentials that have been set before using
#setCredentials(javax.jcr.Credentials) . |
void |
setCredentials(Credentials credentials)
Set the credentials.
|
public Credentials getCredentials()
Credentials
that have been set before using
#setCredentials(javax.jcr.Credentials)
.Credentials
to be used for authentication or null
.public void setCredentials(Credentials credentials)
credentials
- The credentials to be used in the authentication
process. They may be null if no credentials have been specified in
org.apache.jackrabbit.oak.api.ContentRepository#login(javax.jcr.Credentials, String)
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"