- AliasRequest(String) - Constructor for class jakarta.security.auth.message.callback.PrivateKeyCallback.AliasRequest
-
Construct an AliasRequest with an alias.
- AliasRequest(String) - Constructor for class jakarta.security.auth.message.callback.SecretKeyCallback.AliasRequest
-
Construct an AliasRequest with an alias.
- AuthConfig - Interface in jakarta.security.auth.message.config
-
This interface defines the common functionality implemented by Authentication context configuration objects.
- AuthConfigFactory - Class in jakarta.security.auth.message.config
-
This class is used to obtain AuthConfigProvider objects that can be used to obtain authentication
context configuration objects, that is, ClientAuthConfig and ServerAuthConfig objects.
- AuthConfigFactory() - Constructor for class jakarta.security.auth.message.config.AuthConfigFactory
-
- AuthConfigFactory.RegistrationContext - Interface in jakarta.security.auth.message.config
-
Represents the layer identifier, application context identifier, and description components of an AuthConfigProvider
registration at the factory.
- AuthConfigProvider - Interface in jakarta.security.auth.message.config
-
This interface is implemented by objects that can be used to obtain authentication context configuration objects,
that is, ClientAuthConfig or ServerAuthConfig objects.
- AUTHENTICATE_CONTENT - Static variable in interface jakarta.security.auth.message.MessagePolicy.ProtectionPolicy
-
The identifier for a ProtectionPolicy that indicates that the origin of data within the message is to be authenticated
(that is, the message is to be protected such that its recipients can establish who defined the message content).
- AUTHENTICATE_RECIPIENT - Static variable in interface jakarta.security.auth.message.MessagePolicy.ProtectionPolicy
-
The identifier for a ProtectionPolicy that indicates that the message recipient is to be authenticated.
- AUTHENTICATE_SENDER - Static variable in interface jakarta.security.auth.message.MessagePolicy.ProtectionPolicy
-
The identifier for a ProtectionPolicy that indicates that the sending entity is to be authenticated.
- AuthException - Exception in jakarta.security.auth.message
-
A generic authentication exception.
- AuthException() - Constructor for exception jakarta.security.auth.message.AuthException
-
Constructs an AuthException with no detail message.
- AuthException(String) - Constructor for exception jakarta.security.auth.message.AuthException
-
Constructs an AuthException with the specified detail message.
- AuthStatus - Class in jakarta.security.auth.message
-
The AuthStatus class is used to represent return values from Authentication modules and Authentication Contexts.
- get(MessageInfo) - Method in interface jakarta.security.auth.message.MessagePolicy.Target
-
Get the Object identified by the Target from the MessageInfo.
- GET_FACTORY_PERMISSION_NAME - Static variable in class jakarta.security.auth.message.config.AuthConfigFactory
-
The name of the SecurityPermission required to call getFactory
- getAlgorithm() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.DigestRequest
-
Get the algorithm identifier.
- getAlias() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.AliasRequest
-
Get the alias.
- getAlias() - Method in class jakarta.security.auth.message.callback.SecretKeyCallback.AliasRequest
-
Get the alias.
- getAppContext() - Method in interface jakarta.security.auth.message.config.AuthConfig
-
Get the application context identifier of this authentication context configuration object.
- getAppContext() - Method in interface jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext
-
Get the application context identifier from the registration context
- getAuthContext(String, Subject, Map) - Method in interface jakarta.security.auth.message.config.ClientAuthConfig
-
Get a ClientAuthContext instance from this ClientAuthConfig.
- getAuthContext(String, Subject, Map) - Method in interface jakarta.security.auth.message.config.ServerAuthConfig
-
Get a ServerAuthContext instance from this ServerAuthConfig.
- getAuthContextID(MessageInfo) - Method in interface jakarta.security.auth.message.config.AuthConfig
-
Get the authentication context identifier corresponding to the request and response objects encapsulated in
messageInfo.
- getCertStore() - Method in class jakarta.security.auth.message.callback.CertStoreCallback
-
Used by the CertStore user to obtain the CertStore set within the Callback.
- getChain() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback
-
Used to obtain the certificate chain set within the Callback.
- getClientAuthConfig(String, String, CallbackHandler) - Method in interface jakarta.security.auth.message.config.AuthConfigProvider
-
Get an instance of ClientAuthConfig from this provider.
- getConfigProvider(String, String, RegistrationListener) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Get a registered AuthConfigProvider from the factory.
- getDescription() - Method in interface jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext
-
Get the description from the registration context
- getDigest() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.DigestRequest
-
Get the digest value.
- getFactory() - Static method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Get the system-wide AuthConfigFactory implementation.
- getFactorySecurityPermission - Static variable in class jakarta.security.auth.message.config.AuthConfigFactory
-
- getGroups() - Method in class jakarta.security.auth.message.callback.GroupPrincipalCallback
-
Get the array of group names.
- getID() - Method in interface jakarta.security.auth.message.MessagePolicy.ProtectionPolicy
-
Get the ProtectionPolicy identifier.
- getIssuer() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest
-
Get the issuer.
- getKey() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback
-
Used to obtain the private key set within the Callback.
- getKey() - Method in class jakarta.security.auth.message.callback.SecretKeyCallback
-
Used to obtain the secret key set within the Callback.
- getMap() - Method in interface jakarta.security.auth.message.MessageInfo
-
Get (a reference to) the Map object of this MessageInfo.
- getMessageLayer() - Method in interface jakarta.security.auth.message.config.AuthConfig
-
Get the message layer name of this authentication context configuration object.
- getMessageLayer() - Method in interface jakarta.security.auth.message.config.AuthConfigFactory.RegistrationContext
-
Get the layer name from the registration context
- getName() - Method in class jakarta.security.auth.message.callback.CallerPrincipalCallback
-
Get the caller principal name.
- getPassword() - Method in class jakarta.security.auth.message.callback.PasswordValidationCallback
-
Get the password.
- getPrincipal() - Method in class jakarta.security.auth.message.callback.CallerPrincipalCallback
-
Get the caller principal.
- getProtectionPolicy() - Method in class jakarta.security.auth.message.MessagePolicy.TargetPolicy
-
Get the ProtectionPolicy that applies to the targets.
- getRegistrationContext(String) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Get the the registration context for the identified registration.
- getRegistrationIDs(AuthConfigProvider) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Get the registration identifiers for all registrations of the provider instance at the factory.
- getRequest() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback
-
Used by the CallbackHandler to get the Request object that identifies the private key to be returned.
- getRequest() - Method in class jakarta.security.auth.message.callback.SecretKeyCallback
-
Used by the CallbackHandler to get the Request object which identifies the secret key to be returned.
- getRequestMessage() - Method in interface jakarta.security.auth.message.MessageInfo
-
Get the request message object from this MessageInfo.
- getResponseMessage() - Method in interface jakarta.security.auth.message.MessageInfo
-
Get the response message object from this MessageInfo.
- getResult() - Method in class jakarta.security.auth.message.callback.PasswordValidationCallback
-
Get the authentication result.
- getSerialNum() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.IssuerSerialNumRequest
-
Get the serial number.
- getServerAuthConfig(String, String, CallbackHandler) - Method in interface jakarta.security.auth.message.config.AuthConfigProvider
-
Get an instance of ServerAuthConfig from this provider.
- getSubject() - Method in class jakarta.security.auth.message.callback.CallerPrincipalCallback
-
Get the Subject in which the handler will distinguish the caller principal
- getSubject() - Method in class jakarta.security.auth.message.callback.GroupPrincipalCallback
-
Get the Subject in which the handler will establish the group principals.
- getSubject() - Method in class jakarta.security.auth.message.callback.PasswordValidationCallback
-
Get the subject.
- getSubjectKeyID() - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback.SubjectKeyIDRequest
-
Get the subjectKeyID.
- getSupportedMessageTypes() - Method in interface jakarta.security.auth.message.module.ClientAuthModule
-
Get the one or more Class objects representing the message types supported by the module.
- getSupportedMessageTypes() - Method in interface jakarta.security.auth.message.module.ServerAuthModule
-
Get the one or more Class objects representing the message types supported by the module.
- getTargetPolicies() - Method in class jakarta.security.auth.message.MessagePolicy
-
Get the target policies that comprise the authentication policy.
- getTargets() - Method in class jakarta.security.auth.message.MessagePolicy.TargetPolicy
-
Get the array of layer-specific target descriptors that identify the one or more message parts to which the specified
message protection policy applies.
- getTrustStore() - Method in class jakarta.security.auth.message.callback.TrustStoreCallback
-
Used by the TrustStore user to obtain the TrustStore set within the Callback.
- getUsername() - Method in class jakarta.security.auth.message.callback.PasswordValidationCallback
-
Get the username.
- GroupPrincipalCallback - Class in jakarta.security.auth.message.callback
-
Callback establishing group principals within the argument subject.
- GroupPrincipalCallback(Subject, String[]) - Constructor for class jakarta.security.auth.message.callback.GroupPrincipalCallback
-
Create a GroupPrincipalCallback to establish the container's representation of the corresponding group principals
within the Subject.
- refresh() - Method in interface jakarta.security.auth.message.config.AuthConfig
-
Causes a dynamic authentication context configuration object to update the internal state that it uses to process
calls to its getAuthContext method.
- refresh() - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Cause the factory to reprocess its persistent declarative representation of provider registrations.
- refresh() - Method in interface jakarta.security.auth.message.config.AuthConfigProvider
-
Causes a dynamic configuration provider to update its internal state such that any resulting change to its state is
reflected in the corresponding authentication context configuration objects previously created by the provider within
the current process context.
- registerConfigProvider(String, Map, String, String, String) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Registers within the factory and records within the factory's persistent declarative representation of provider
registrations a provider of ServerAuthConfig and/or ClientAuthConfig objects for a message layer and application
context identifier.
- registerConfigProvider(AuthConfigProvider, String, String, String) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Registers within the (in-memory) factory, a provider of ServerAuthConfig and/or ClientAuthConfig objects for a
message layer and application context identifier.
- RegistrationListener - Interface in jakarta.security.auth.message.config
-
An implementation of this interface may be associated with an AuthConfigProvider registration at an AuthConfigFactory
at the time the AuthConfigProvider is obtained for use from the factory.
- remove(MessageInfo) - Method in interface jakarta.security.auth.message.MessagePolicy.Target
-
Remove the Object identified by the Target from the MessageInfo.
- removeRegistration(String) - Method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Remove the identified provider registration from the factory (and from the persistent declarative representation of
provider registrations, if appropriate) and invoke any listeners associated with the removed registration.
- SecretKeyCallback - Class in jakarta.security.auth.message.callback
-
Callback for acquiring a shared secret from a key repository.
- SecretKeyCallback(SecretKeyCallback.Request) - Constructor for class jakarta.security.auth.message.callback.SecretKeyCallback
-
Constructs this SecretKeyCallback with a secret key Request object.
- SecretKeyCallback.AliasRequest - Class in jakarta.security.auth.message.callback
-
Request type for secret keys that are identified using an alias.
- SecretKeyCallback.Request - Interface in jakarta.security.auth.message.callback
-
Marker interface for secret key request types.
- secureRequest(MessageInfo, Subject) - Method in interface jakarta.security.auth.message.ClientAuth
-
Secure a service request message before sending it to the service.
- secureResponse(MessageInfo, Subject) - Method in interface jakarta.security.auth.message.ServerAuth
-
Secure a service response before sending it to the client.
- SEND_CONTINUE - Static variable in class jakarta.security.auth.message.AuthStatus
-
Indicates the message processing by the authentication module is NOT complete, that the module replaced the
application message with a security message, and that the runtime is to proceed by sending the security message.
- SEND_FAILURE - Static variable in class jakarta.security.auth.message.AuthStatus
-
Indicates that the message processing by the authentication module was NOT successful, that the module replaced the
application message with an error message, and that the runtime is to proceed by sending the error message.
- SEND_SUCCESS - Static variable in class jakarta.security.auth.message.AuthStatus
-
Indicates that the message processing by the authentication module was successful and that the runtime is to proceed
by sending a message returned by the authentication module.
- ServerAuth - Interface in jakarta.security.auth.message
-
An implementation of this interface is used to validate received service request messages, and to secure service
response messages.
- ServerAuthConfig - Interface in jakarta.security.auth.message.config
-
This interface describes a configuration of ServerAuthConfiguration objects for a message layer and application
context (for example, the messaging context of a specific application, or set of applications).
- ServerAuthContext - Interface in jakarta.security.auth.message.config
-
This ServerAuthContext class encapsulates ServerAuthModules that are used to validate service requests received from
clients, and to secure any response returned for those requests.
- ServerAuthModule - Interface in jakarta.security.auth.message.module
-
A ServerAuthModule validates client requests and secures responses to the client.
- SET_FACTORY_PERMISSION_NAME - Static variable in class jakarta.security.auth.message.config.AuthConfigFactory
-
The name of the SecurityPermission required to call setFactory
- setCertStore(CertStore) - Method in class jakarta.security.auth.message.callback.CertStoreCallback
-
Used by the CallbackHandler to set the CertStore within the Callback.
- setFactory(AuthConfigFactory) - Static method in class jakarta.security.auth.message.config.AuthConfigFactory
-
Set the system-wide AuthConfigFactory implementation.
- setFactorySecurityPermission - Static variable in class jakarta.security.auth.message.config.AuthConfigFactory
-
- setKey(PrivateKey, Certificate[]) - Method in class jakarta.security.auth.message.callback.PrivateKeyCallback
-
Used by the CallbackHandler to set the requested private key and the corresponding certificate chain within the
Callback.
- setKey(SecretKey) - Method in class jakarta.security.auth.message.callback.SecretKeyCallback
-
Used by the CallbackHandler to set the requested secret key within the Callback.
- setRequestMessage(Object) - Method in interface jakarta.security.auth.message.MessageInfo
-
Set the request message object in this MessageInfo.
- setResponseMessage(Object) - Method in interface jakarta.security.auth.message.MessageInfo
-
Set the response message object in this MessageInfo.
- setResult(boolean) - Method in class jakarta.security.auth.message.callback.PasswordValidationCallback
-
Set the authentication result.
- setTrustStore(KeyStore) - Method in class jakarta.security.auth.message.callback.TrustStoreCallback
-
Used by the CallbackHandler to set the trusted certificate keystore within the Callback.
- SubjectKeyIDRequest(byte[]) - Constructor for class jakarta.security.auth.message.callback.PrivateKeyCallback.SubjectKeyIDRequest
-
Construct a SubjectKeyIDRequest with an subjectKeyID.
- SUCCESS - Static variable in class jakarta.security.auth.message.AuthStatus
-
Indicates that the message processing by the authentication module was successful and that the runtime is to proceed
with its normal processing of the resulting message.