public final class IdentityCredentialCallback extends Object implements ExtendedCallback
Constructor and Description |
---|
IdentityCredentialCallback(Credential credential,
boolean isPrivate)
Construct a new instance.
|
Modifier and Type | Method and Description |
---|---|
Credential |
getCredential()
Get the credential.
|
boolean |
isPrivate()
Determine whether the credential should be treated as private.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isOptional, needsInformation
public IdentityCredentialCallback(Credential credential, boolean isPrivate)
credential
- the credential (must not be null
)isPrivate
- true
if the credential should be private, false
if it can be publicpublic Credential getCredential()
null
)public boolean isPrivate()
true
to treat the credential as private, false
otherwiseCopyright © 2020 JBoss by Red Hat. All rights reserved.