@Deprecated public class JaasCustomSecurityRealmWrapper extends Object implements SecurityRealm
EMPTY_REALM| Constructor and Description |
|---|
JaasCustomSecurityRealmWrapper()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
SupportLevel |
getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName)
Deprecated.
|
SupportLevel |
getCredentialAcquireSupport(Class<? extends Credential> credentialType,
String algorithmName,
AlgorithmParameterSpec parameterSpec)
Deprecated.
Determine whether a credential of the given type and algorithm is definitely obtainable, possibly obtainable (for]
some identities), or definitely not obtainable.
|
SupportLevel |
getEvidenceVerifySupport(Class<? extends Evidence> evidenceType,
String algorithmName)
Deprecated.
Determine whether a given type of evidence is definitely verifiable, possibly verifiable (for some identities),
or definitely not verifiable.
|
RealmIdentity |
getRealmIdentity(Evidence evidence)
Deprecated.
Get a handle for to the identity for the given evidence in the context of this security realm.
|
RealmIdentity |
getRealmIdentity(Evidence evidence,
Function<Principal,Principal> principalTransformer)
Deprecated.
Get a handle for the identity for the given evidence in the context of this security realm.
|
RealmIdentity |
getRealmIdentity(Principal principal)
Deprecated.
Get a handle for to the identity for the given principal in the context of this security realm.
|
void |
handleRealmEvent(RealmEvent event)
Deprecated.
Handle a realm event.
|
void |
initialize(Map<String,String> configuration)
Deprecated.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsafeHandleRealmEventpublic JaasCustomSecurityRealmWrapper()
public void initialize(Map<String,String> configuration) throws StartException
StartExceptionpublic RealmIdentity getRealmIdentity(Principal principal) throws RealmUnavailableException
SecurityRealmRealmIdentity.dispose().getRealmIdentity in interface SecurityRealmprincipal - the principal which identifies the identity within the realm (must not be null)RealmIdentity for the provided principal (not null)RealmUnavailableExceptionpublic RealmIdentity getRealmIdentity(Evidence evidence) throws RealmUnavailableException
SecurityRealmRealmIdentity.dispose().
Where this method is used to obtain a RealmIdentity prior to evidence verification the method
RealmIdentity.getEvidenceVerifySupport(Class, String) will be used to verify if the identity is usable.getRealmIdentity in interface SecurityRealmevidence - an evidence instance which identifies the identity within the realm (must not be null)RealmIdentity for the provided evidence (not null)RealmUnavailableExceptionpublic RealmIdentity getRealmIdentity(Evidence evidence, Function<Principal,Principal> principalTransformer) throws RealmUnavailableException
SecurityRealmRealmIdentity.dispose().
Where this method is used to obtain a RealmIdentity prior to evidence verification the method
RealmIdentity.getEvidenceVerifySupport(Class, String) will be used to verify if the identity is usable.getRealmIdentity in interface SecurityRealmevidence - an evidence instance which identifies the identity within the realm (must not be null)principalTransformer - a function which defines how the principal is transformed before the authorization identity
is obtainedRealmIdentity for the provided evidence (not null)RealmUnavailableExceptionpublic SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName) throws RealmUnavailableException
getCredentialAcquireSupport in interface SecurityRealmRealmUnavailableExceptionpublic SupportLevel getCredentialAcquireSupport(Class<? extends Credential> credentialType, String algorithmName, AlgorithmParameterSpec parameterSpec) throws RealmUnavailableException
SecurityRealmgetCredentialAcquireSupport in interface SecurityRealmcredentialType - the exact credential type (must not be null)algorithmName - the algorithm name, or null if any algorithm is acceptable or the credential type does
not support algorithm namesparameterSpec - the algorithm parameters to match, or null if any parameters are acceptable or the credential type
does not support algorithm parametersRealmUnavailableException - if the realm is not able to handle requests for any reasonpublic SupportLevel getEvidenceVerifySupport(Class<? extends Evidence> evidenceType, String algorithmName) throws RealmUnavailableException
SecurityRealmgetEvidenceVerifySupport in interface SecurityRealmevidenceType - the type of evidence to be verified (must not be null)algorithmName - the algorithm name, or null if any algorithm is acceptable or the evidence type does
not support algorithm namesRealmUnavailableException - if the realm is not able to handle requests for any reasonpublic void handleRealmEvent(RealmEvent event)
SecurityRealmThe default implementation does nothing.
handleRealmEvent in interface SecurityRealmevent - the realm eventCopyright © 2025 JBoss by Red Hat. All rights reserved.