public class CredentialsCallback
extends java.lang.Object
implements javax.security.auth.callback.Callback
Credentials
.Constructor and Description |
---|
CredentialsCallback() |
Modifier and Type | Method and Description |
---|---|
@Nullable Credentials |
getCredentials()
Returns the
Credentials that have been set before using
setCredentials(javax.jcr.Credentials) . |
void |
setCredentials(Credentials credentials)
Set the credentials.
|
@Nullable public @Nullable 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
ContentRepository.login(javax.jcr.Credentials, String)
Copyright © 2010 - 2020 Adobe. All Rights Reserved