Index
A
abort() -
Method in class com.ibm.security.auth.module.KeyStoreLoginModule
This method is called if the LoginContext's
overall authentication failed.
abort() -
Method in class com.ibm.security.auth.module.LdapLoginModule
Abort user authentication.
abort() -
Method in class com.ibm.security.auth.module.LinuxLoginModule
Abort the authentication (second phase).
abort() -
Method in interface javax.security.auth.spi.LoginModule
Method to abort the authentication process (phase 2).
AccountException - Exception in javax.security.auth.login
A generic account exception.
AccountException() -
Constructor for exception javax.security.auth.login.AccountException
Constructs a AccountException with no detail message.
AccountException(String) -
Constructor for exception javax.security.auth.login.AccountException
Constructs a AccountException with the specified detail message.
AccountExpiredException - Exception in javax.security.auth.login
Signals that a user account has expired.
AccountExpiredException() -
Constructor for exception javax.security.auth.login.AccountExpiredException
Constructs a AccountExpiredException with no detail message.
AccountExpiredException(String) -
Constructor for exception javax.security.auth.login.AccountExpiredException
Constructs a AccountExpiredException with the specified detail
message.
AccountLockedException - Exception in javax.security.auth.login
Signals that an account was locked.
AccountLockedException() -
Constructor for exception javax.security.auth.login.AccountLockedException
Constructs a AccountLockedException with no detail message.
AccountLockedException(String) -
Constructor for exception javax.security.auth.login.AccountLockedException
Constructs a AccountLockedException with the specified
detail message.
AccountNotFoundException - Exception in javax.security.auth.login
Signals that an account was not found.
AccountNotFoundException() -
Constructor for exception javax.security.auth.login.AccountNotFoundException
Constructs a AccountNotFoundException with no detail message.
AccountNotFoundException(String) -
Constructor for exception javax.security.auth.login.AccountNotFoundException
Constructs a AccountNotFoundException with the specified
detail message.
allowMultipleSelections() -
Method in class javax.security.auth.callback.ChoiceCallback
Get the boolean determining whether multiple selections from
the
choices
list are allowed.
AppConfigurationEntry - Class in javax.security.auth.login
This class represents a single
LoginModule
entry
configured for the application specified in the
getAppConfigurationEntry(String appName)
method in the Configuration
class.
AppConfigurationEntry(String, AppConfigurationEntry.LoginModuleControlFlag, Map<String, ?>) -
Constructor for class javax.security.auth.login.AppConfigurationEntry
Default constructor for this class.
This class represents whether or not a
LoginModule
is REQUIRED, REQUISITE, SUFFICIENT or OPTIONAL.
AuthPermission - Class in javax.security.auth
This class is for authentication permissions.
AuthPermission(String) -
Constructor for class javax.security.auth.AuthPermission
Creates a new AuthPermission with the specified name.
AuthPermission(String, String) -
Constructor for class javax.security.auth.AuthPermission
Creates a new AuthPermission object with the specified name.
C
Callback - Interface in javax.security.auth.callback
Implementations of this interface are passed to a
CallbackHandler
, allowing underlying security services
the ability to interact with a calling application to retrieve specific
authentication data such as usernames and passwords, or to display
certain information, such as error and warning messages.
CallbackHandler - Interface in javax.security.auth.callback
An application implements a
CallbackHandler
and passes
it to underlying security services so that they may interact with
the application to retrieve specific authentication data,
such as usernames and passwords, or to display certain information,
such as error and warning messages.
CANCEL -
Static variable in class javax.security.auth.callback.ConfirmationCallback
CANCEL option.
CANONICAL -
Static variable in class javax.security.auth.x500.X500Principal
Canonical String format of Distinguished Names.
ChoiceCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
ChoiceCallback
to the handle
method of a CallbackHandler
to display a list of choices
and to retrieve the selected choice(s).
ChoiceCallback(String, String[], int, boolean) -
Constructor for class javax.security.auth.callback.ChoiceCallback
Construct a
ChoiceCallback
with a prompt,
a list of choices, a default choice, and a boolean specifying
whether or not multiple selections from the list of choices are allowed.
clearPassword() -
Method in class javax.security.auth.callback.PasswordCallback
Clear the retrieved password.
com.ibm.security.auth - package com.ibm.security.auth
com.ibm.security.auth.callback - package com.ibm.security.auth.callback
com.ibm.security.auth.login - package com.ibm.security.auth.login
com.ibm.security.auth.module - package com.ibm.security.auth.module
combine(ProtectionDomain[], ProtectionDomain[]) -
Method in class javax.security.auth.SubjectDomainCombiner
Update the relevant ProtectionDomains with the Principals
from the
Subject
associated with this
SubjectDomainCombiner
.
commit() -
Method in class com.ibm.security.auth.module.KeyStoreLoginModule
Abstract method to commit the authentication process (phase 2).
commit() -
Method in class com.ibm.security.auth.module.LdapLoginModule
Complete user authentication.
commit() -
Method in class com.ibm.security.auth.module.LinuxLoginModule
Commit the authentication (second phase).
commit() -
Method in interface javax.security.auth.spi.LoginModule
Method to commit the authentication process (phase 2).
ConfigFile - Class in com.ibm.security.auth.login
This class represents a default implementation for
javax.security.auth.login.Configuration
.
ConfigFile() -
Constructor for class com.ibm.security.auth.login.ConfigFile
Create a new
Configuration
object.
ConfigFile(URI) -
Constructor for class com.ibm.security.auth.login.ConfigFile
Create a new
Configuration
object from the specified URI.
Configuration - Class in javax.security.auth.login
A Configuration object is responsible for specifying which LoginModules
should be used for a particular application, and in what order the
LoginModules should be invoked.
Configuration() -
Constructor for class javax.security.auth.login.Configuration
Sole constructor.
Configuration.Parameters - Interface in javax.security.auth.login
This represents a marker interface for Configuration parameters.
ConfigurationSpi - Class in javax.security.auth.login
This class defines the Service Provider Interface (SPI)
for the
Configuration
class.
ConfigurationSpi() -
Constructor for class javax.security.auth.login.ConfigurationSpi
ConfirmationCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
ConfirmationCallback
to the handle
method of a CallbackHandler
to ask for YES/NO,
OK/CANCEL, YES/NO/CANCEL or other similar confirmations.
ConfirmationCallback(int, int, int) -
Constructor for class javax.security.auth.callback.ConfirmationCallback
Construct a
ConfirmationCallback
with a
message type, an option type and a default option.
ConfirmationCallback(int, String[], int) -
Constructor for class javax.security.auth.callback.ConfirmationCallback
Construct a
ConfirmationCallback
with a
message type, a list of options and a default option.
ConfirmationCallback(String, int, int, int) -
Constructor for class javax.security.auth.callback.ConfirmationCallback
Construct a
ConfirmationCallback
with a prompt,
message type, an option type and a default option.
ConfirmationCallback(String, int, String[], int) -
Constructor for class javax.security.auth.callback.ConfirmationCallback
Construct a
ConfirmationCallback
with a prompt,
message type, a list of options and a default option.
CredentialException - Exception in javax.security.auth.login
A generic credential exception.
CredentialException() -
Constructor for exception javax.security.auth.login.CredentialException
Constructs a CredentialException with no detail message.
CredentialException(String) -
Constructor for exception javax.security.auth.login.CredentialException
Constructs a CredentialException with the specified detail message.
CredentialExpiredException - Exception in javax.security.auth.login
Signals that a
Credential
has expired.
CredentialExpiredException() -
Constructor for exception javax.security.auth.login.CredentialExpiredException
Constructs a CredentialExpiredException with no detail message.
CredentialExpiredException(String) -
Constructor for exception javax.security.auth.login.CredentialExpiredException
Constructs a CredentialExpiredException with the specified detail
message.
CredentialNotFoundException - Exception in javax.security.auth.login
Signals that a credential was not found.
CredentialNotFoundException() -
Constructor for exception javax.security.auth.login.CredentialNotFoundException
Constructs a CredentialNotFoundException with no detail message.
CredentialNotFoundException(String) -
Constructor for exception javax.security.auth.login.CredentialNotFoundException
Constructs a CredentialNotFoundException with the specified
detail message.
D
destroy() -
Method in interface javax.security.auth.Destroyable
Destroy this
Object
.
destroy() -
Method in class javax.security.auth.x500.X500PrivateCredential
Clears the references to the X.509 certificate, private key and the
KeyStore alias in this object.
Destroyable - Interface in javax.security.auth
Objects such as credentials may optionally implement this interface
to provide the capability to destroy its contents.
DestroyFailedException - Exception in javax.security.auth
Signals that a
destroy
operation failed.
DestroyFailedException() -
Constructor for exception javax.security.auth.DestroyFailedException
Constructs a DestroyFailedException with no detail message.
DestroyFailedException(String) -
Constructor for exception javax.security.auth.DestroyFailedException
Constructs a DestroyFailedException with the specified detail
message.
Uses a Swing dialog window to query the user for answers to
authentication questions.
DialogCallbackHandler() -
Constructor for class com.ibm.security.auth.callback.DialogCallbackHandler
Creates a callback dialog with the default parent window.
DialogCallbackHandler(Component) -
Constructor for class com.ibm.security.auth.callback.DialogCallbackHandler
Creates a callback dialog and specify the parent window.
doAs(Subject, PrivilegedAction<T>) -
Static method in class javax.security.auth.Subject
Perform work as a particular
Subject
.
doAs(Subject, PrivilegedExceptionAction<T>) -
Static method in class javax.security.auth.Subject
Perform work as a particular
Subject
.
doAsPrivileged(Subject, PrivilegedAction<T>, AccessControlContext) -
Static method in class javax.security.auth.Subject
Perform privileged work as a particular
Subject
.
doAsPrivileged(Subject, PrivilegedExceptionAction<T>, AccessControlContext) -
Static method in class javax.security.auth.Subject
Perform privileged work as a particular
Subject
.
DomainIDPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class and
represents the domain ID the user is currently logged onto.
DomainIDPrincipal(String) -
Constructor for class com.ibm.security.auth.DomainIDPrincipal
Create an
DomainIDPrincipal
using a
String
representation of the domain.
DomainPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class and
represents the domain the user is currently logged onto.
DomainPrincipal(String) -
Constructor for class com.ibm.security.auth.DomainPrincipal
Create an
DomainPrincipal
using a
String
representation of the domain.
E
engineGetAppConfigurationEntry(String) -
Method in class javax.security.auth.login.ConfigurationSpi
Retrieve the AppConfigurationEntries for the specified name.
engineRefresh() -
Method in class javax.security.auth.login.ConfigurationSpi
Refresh and reload the Configuration.
equals(Object) -
Method in class com.ibm.security.auth.DomainIDPrincipal
Compares the specified Object with this
DomainIDPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.DomainPrincipal
Compares the specified Object with this
DomainPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.GroupIDPrincipal
Compares the specified Object with this
GroupIDPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.JAASPrincipal
Compares the specified Object with this
JAASPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.LdapPrincipal
Compares this principal to the specified object.
equals(Object) -
Method in class com.ibm.security.auth.PrimaryGroupIDPrincipal
Compares the specified Object with this
PrimaryGroupIDPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.ServerPrincipal
Compares the specified Object with this
ServerPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.UserIDPrincipal
Compares the specified Object with this
UserIDPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.UsernamePrincipal
Compares the specified Object with this
UsernamePrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.WkstationPrincipal
Compares the specified Object with this
WkstationPrincipal
for equality.
equals(Object) -
Method in class com.ibm.security.auth.X500Principal
Deprecated. Compares the specified Object with this
X500Principal
for equality.
equals(Object) -
Method in class javax.security.auth.PrivateCredentialPermission
Checks two
PrivateCredentialPermission
objects for
equality.
equals(Object) -
Method in class javax.security.auth.Subject
Compares the specified Object with this
Subject
for equality.
equals(Object) -
Method in class javax.security.auth.x500.X500Principal
Compares the specified
Object
with this
X500Principal
for equality.
ERROR -
Static variable in class javax.security.auth.callback.ConfirmationCallback
ERROR message type.
ERROR -
Static variable in class javax.security.auth.callback.TextOutputCallback
Error message.
F
FailedLoginException - Exception in javax.security.auth.login
Signals that user authentication failed.
FailedLoginException() -
Constructor for exception javax.security.auth.login.FailedLoginException
Constructs a FailedLoginException with no detail message.
FailedLoginException(String) -
Constructor for exception javax.security.auth.login.FailedLoginException
Constructs a FailedLoginException with the specified detail
message.
G
getActions() -
Method in class javax.security.auth.PrivateCredentialPermission
Returns the "canonical string representation" of the actions.
getAlias() -
Method in class javax.security.auth.x500.X500PrivateCredential
Returns the KeyStore alias.
getAppConfigurationEntry(String) -
Method in class com.ibm.security.auth.login.ConfigFile
Retrieve an entry from the Configuration using an application name
as an index.
getAppConfigurationEntry(String) -
Method in class javax.security.auth.login.Configuration
Retrieve the AppConfigurationEntries for the specified name
from this Configuration.
getCallback() -
Method in exception javax.security.auth.callback.UnsupportedCallbackException
Get the unrecognized
Callback
.
getCertificate() -
Method in class javax.security.auth.x500.X500PrivateCredential
Returns the X.509 certificate.
getChoices() -
Method in class javax.security.auth.callback.ChoiceCallback
Get the list of choices.
getConfiguration() -
Static method in class javax.security.auth.login.Configuration
Get the installed login Configuration.
getControlFlag() -
Method in class javax.security.auth.login.AppConfigurationEntry
Return the controlFlag
(either REQUIRED, REQUISITE, SUFFICIENT, or OPTIONAL)
for this
LoginModule
.
getCredentialClass() -
Method in class javax.security.auth.PrivateCredentialPermission
Returns the Class name of the Credential associated with this
PrivateCredentialPermission
.
getDefaultChoice() -
Method in class javax.security.auth.callback.ChoiceCallback
Get the defaultChoice.
getDefaultName() -
Method in class javax.security.auth.callback.NameCallback
Get the default name.
getDefaultOption() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the default option.
getDefaultText() -
Method in class javax.security.auth.callback.TextInputCallback
Get the default text.
getEncoded() -
Method in class javax.security.auth.x500.X500Principal
Returns the distinguished name in ASN.1 DER encoded form.
getGid() -
Method in class com.ibm.security.auth.module.LinuxSystem
Get the GID for the current Linux user.
getGroups() -
Method in class com.ibm.security.auth.module.LinuxSystem
Get the groups for the current Linux user.
getInstance(String, Configuration.Parameters) -
Static method in class javax.security.auth.login.Configuration
Returns a Configuration object of the specified type.
getInstance(String, Configuration.Parameters, String) -
Static method in class javax.security.auth.login.Configuration
Returns a Configuration object of the specified type.
getInstance(String, Configuration.Parameters, Provider) -
Static method in class javax.security.auth.login.Configuration
Returns a Configuration object of the specified type.
getLocale() -
Method in class javax.security.auth.callback.LanguageCallback
Get the retrieved
Locale
.
getLoginModuleName() -
Method in class javax.security.auth.login.AppConfigurationEntry
Get the class name of the configured
LoginModule
.
getMessage() -
Method in class javax.security.auth.callback.TextOutputCallback
Get the message to be displayed.
getMessageType() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the message type.
getMessageType() -
Method in class javax.security.auth.callback.TextOutputCallback
Get the message type.
getName() -
Method in class com.ibm.security.auth.JAASPrincipal
Return a string name of this
JAASPrincipal
.
getName() -
Method in class com.ibm.security.auth.LdapPrincipal
Returns the name originally used to create this principal.
getName() -
Method in class com.ibm.security.auth.X500Principal
Deprecated. Return the Unix username for this
X500Principal
.
getName() -
Method in class javax.security.auth.callback.NameCallback
Get the retrieved name.
getName() -
Method in class javax.security.auth.x500.X500Principal
Returns a string representation of the X.500 distinguished name using
the format defined in RFC 2253.
getName(String) -
Method in class javax.security.auth.x500.X500Principal
Returns a string representation of the X.500 distinguished name
using the specified format.
getName(String, Map<String, String>) -
Method in class javax.security.auth.x500.X500Principal
Returns a string representation of the X.500 distinguished name
using the specified format.
getOptions() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the confirmation options.
getOptions() -
Method in class javax.security.auth.login.AppConfigurationEntry
Get the options configured for this
LoginModule
.
getOptionType() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the option type.
getParameters() -
Method in class javax.security.auth.login.Configuration
Return Configuration parameters.
getPassword() -
Method in class javax.security.auth.callback.PasswordCallback
Get the retrieved password.
getPermissions(Subject, CodeSource) -
Method in class com.ibm.security.auth.PolicyFile
Deprecated. Examines this
Policy
and returns the Permissions granted
to the specified Subject
and CodeSource
.
getPermissions(Subject, CodeSource) -
Method in class javax.security.auth.Policy
Deprecated. Retrieve the Permissions granted to the Principals associated with
the specified
CodeSource
.
getPolicy() -
Static method in class javax.security.auth.Policy
Deprecated. Returns the installed Policy object.
getPrincipals() -
Method in class javax.security.auth.PrivateCredentialPermission
Returns the
Principal
classes and names
associated with this PrivateCredentialPermission
.
getPrincipals() -
Method in class javax.security.auth.Subject
Return the
Set
of Principals associated with this
Subject
.
getPrincipals(Class<T>) -
Method in class javax.security.auth.Subject
Return a
Set
of Principals associated with this
Subject
that are instances or subclasses of the specified
Class
.
getPrivateCredentials() -
Method in class javax.security.auth.Subject
Return the
Set
of private credentials held by this
Subject
.
getPrivateCredentials(Class<T>) -
Method in class javax.security.auth.Subject
Return a
Set
of private credentials associated with this
Subject
that are instances or subclasses of the specified
Class
.
getPrivateKey() -
Method in class javax.security.auth.x500.X500PrivateCredential
Returns the PrivateKey.
getPrompt() -
Method in class javax.security.auth.callback.ChoiceCallback
Get the prompt.
getPrompt() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the prompt.
getPrompt() -
Method in class javax.security.auth.callback.NameCallback
Get the prompt.
getPrompt() -
Method in class javax.security.auth.callback.PasswordCallback
Get the prompt.
getPrompt() -
Method in class javax.security.auth.callback.TextInputCallback
Get the prompt.
getProvider() -
Method in class javax.security.auth.login.Configuration
Return the Provider of this Configuration.
getPublicCredentials() -
Method in class javax.security.auth.Subject
Return the
Set
of public credentials held by this
Subject
.
getPublicCredentials(Class<T>) -
Method in class javax.security.auth.Subject
Return a
Set
of public credentials associated with this
Subject
that are instances or subclasses of the specified
Class
.
getSelectedIndex() -
Method in class javax.security.auth.callback.ConfirmationCallback
Get the selected confirmation option.
getSelectedIndexes() -
Method in class javax.security.auth.callback.ChoiceCallback
Get the selected choices.
getSubject() -
Method in class javax.security.auth.login.LoginContext
Return the authenticated Subject.
getSubject(AccessControlContext) -
Static method in class javax.security.auth.Subject
Get the
Subject
associated with the provided
AccessControlContext
.
getSubject() -
Method in class javax.security.auth.SubjectDomainCombiner
Get the
Subject
associated with this
SubjectDomainCombiner
.
getText() -
Method in class javax.security.auth.callback.TextInputCallback
Get the retrieved text.
getType() -
Method in class javax.security.auth.login.Configuration
Return the type of this Configuration.
getUid() -
Method in class com.ibm.security.auth.module.LinuxSystem
Get the UID for the current Linux user.
getUsername() -
Method in class com.ibm.security.auth.module.LinuxSystem
Get the username for the current Linux user.
GroupIDPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class
and represents a user's group identification (GID).
GroupIDPrincipal(String) -
Constructor for class com.ibm.security.auth.GroupIDPrincipal
Create a
GroupIDPrincipal
using a
String
representation of the user's
group identification (GID).
GroupIDPrincipal(long) -
Constructor for class com.ibm.security.auth.GroupIDPrincipal
Create an
GroupIDPrincipal
using a
long representation of the user's group
identification number (GID).
H
handle(Callback[]) -
Method in class com.ibm.security.auth.callback.DialogCallbackHandler
Handles the specified set of callbacks.
handle(Callback[]) -
Method in class com.ibm.security.auth.callback.TextCallbackHandler
Handles the specified set of callbacks.
handle(Callback[]) -
Method in interface javax.security.auth.callback.CallbackHandler
Retrieve or display the information requested in the
provided Callbacks.
hashCode() -
Method in class com.ibm.security.auth.JAASPrincipal
Return a hash code for this
JAASPrincipal
.
hashCode() -
Method in class com.ibm.security.auth.LdapPrincipal
Computes the hash code for this principal.
hashCode() -
Method in class com.ibm.security.auth.X500Principal
Deprecated. Return a hash code for this
X500Principal
.
hashCode() -
Method in class javax.security.auth.PrivateCredentialPermission
Returns the hash code value for this object.
hashCode() -
Method in class javax.security.auth.Subject
Returns a hashcode for this
Subject
.
hashCode() -
Method in class javax.security.auth.x500.X500Principal
Return a hash code for this
X500Principal
.
I
implies(Subject) -
Method in interface com.ibm.security.auth.PrincipalComparator
Check if the specified
Subject
is implied by
this object.
implies(Permission) -
Method in class javax.security.auth.PrivateCredentialPermission
Checks if this
PrivateCredentialPermission
implies
the specified Permission
.
INFORMATION -
Static variable in class javax.security.auth.callback.ConfirmationCallback
INFORMATION message type.
INFORMATION -
Static variable in class javax.security.auth.callback.TextOutputCallback
Information message.
initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) -
Method in class com.ibm.security.auth.module.KeyStoreLoginModule
Initialize this
LoginModule
.
initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) -
Method in class com.ibm.security.auth.module.LdapLoginModule
Initialize this
LoginModule
.
initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) -
Method in class com.ibm.security.auth.module.LinuxLoginModule
Initialize this
LoginModule
.
initialize(Subject, CallbackHandler, Map<String, ?>, Map<String, ?>) -
Method in interface javax.security.auth.spi.LoginModule
Initialize this LoginModule.
isCurrent() -
Method in interface javax.security.auth.Refreshable
Determine if this
Object
is current.
isDestroyed() -
Method in interface javax.security.auth.Destroyable
Determine if this
Object
has been destroyed.
isDestroyed() -
Method in class javax.security.auth.x500.X500PrivateCredential
Determines if the references to the X.509 certificate and private key
in this object have been cleared.
isEchoOn() -
Method in class javax.security.auth.callback.PasswordCallback
Return whether the password
should be displayed as it is being typed.
isReadOnly() -
Method in class javax.security.auth.Subject
Query whether this
Subject
is read-only.
J
JAASPrincipal - Class in com.ibm.security.auth
This class implements the
Principal
interface
and represents general information about a user, group or domain.
JAASPrincipal(String) -
Constructor for class com.ibm.security.auth.JAASPrincipal
Create a
JAASPrincipal
with an identifying name.
javax.security.auth - package javax.security.auth
javax.security.auth.callback - package javax.security.auth.callback
javax.security.auth.login - package javax.security.auth.login
javax.security.auth.spi - package javax.security.auth.spi
javax.security.auth.x500 - package javax.security.auth.x500
K
KeyStoreLoginModule - Class in com.ibm.security.auth.module
Provides a JAAS login module that prompts for a key store alias and
populates the subject with the alias's principal and credentials.
KeyStoreLoginModule() -
Constructor for class com.ibm.security.auth.module.KeyStoreLoginModule
L
LanguageCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
LanguageCallback
to the handle
method of a CallbackHandler
to retrieve the Locale
used for localizing text.
LanguageCallback() -
Constructor for class javax.security.auth.callback.LanguageCallback
Construct a
LanguageCallback
.
LdapLoginModule - Class in com.ibm.security.auth.module
This
LoginModule
performs LDAP-based authentication.
LdapLoginModule() -
Constructor for class com.ibm.security.auth.module.LdapLoginModule
LdapPrincipal - Class in com.ibm.security.auth
A principal identified by a distinguished name as specified by
RFC 2253.
LdapPrincipal(String) -
Constructor for class com.ibm.security.auth.LdapPrincipal
Creates an LDAP principal.
LinuxLoginModule - Class in com.ibm.security.auth.module
This
LoginModule
imports a user's Linux
Principal
information (UsernamePrincipal
,
UserIDPrincipal
,
and GroupIDPrincipal
)
and associates them with the current Subject
.
LinuxLoginModule() -
Constructor for class com.ibm.security.auth.module.LinuxLoginModule
LinuxSystem - Class in com.ibm.security.auth.module
This class implementation retrieves and makes available Linux
UID/GID/groups information for the current user.
LinuxSystem() -
Constructor for class com.ibm.security.auth.module.LinuxSystem
Instantiate a
LinuxSystem
and load
the native library to access the underlying system information.
login() -
Method in class com.ibm.security.auth.module.KeyStoreLoginModule
Authenticate the user.
login() -
Method in class com.ibm.security.auth.module.LdapLoginModule
Begin user authentication.
login() -
Method in class com.ibm.security.auth.module.LinuxLoginModule
Authenticate the user (first phase).
login() -
Method in class javax.security.auth.login.LoginContext
Perform the authentication.
login() -
Method in interface javax.security.auth.spi.LoginModule
Method to authenticate a
Subject
(phase 1).
LoginContext - Class in javax.security.auth.login
The
LoginContext
class describes the basic methods used
to authenticate Subjects and provides a way to develop an
application independent of the underlying authentication technology.
LoginContext(String) -
Constructor for class javax.security.auth.login.LoginContext
Instantiate a new
LoginContext
object with a name.
LoginContext(String, Subject) -
Constructor for class javax.security.auth.login.LoginContext
Instantiate a new
LoginContext
object with a name
and a Subject
object.
LoginContext(String, CallbackHandler) -
Constructor for class javax.security.auth.login.LoginContext
Instantiate a new
LoginContext
object with a name
and a CallbackHandler
object.
LoginContext(String, Subject, CallbackHandler) -
Constructor for class javax.security.auth.login.LoginContext
Instantiate a new
LoginContext
object with a name,
a Subject
to be authenticated, and a
CallbackHandler
object.
LoginContext(String, Subject, CallbackHandler, Configuration) -
Constructor for class javax.security.auth.login.LoginContext
Instantiate a new
LoginContext
object with a name,
a Subject
to be authenticated,
a CallbackHandler
object, and a login
Configuration
.
LoginException - Exception in javax.security.auth.login
This is the basic login exception.
LoginException() -
Constructor for exception javax.security.auth.login.LoginException
Constructs a LoginException with no detail message.
LoginException(String) -
Constructor for exception javax.security.auth.login.LoginException
Constructs a LoginException with the specified detail message.
LoginModule - Interface in javax.security.auth.spi
LoginModule
describes the interface
implemented by authentication technology providers.
logout() -
Method in class com.ibm.security.auth.module.KeyStoreLoginModule
Logout a user.
logout() -
Method in class com.ibm.security.auth.module.LdapLoginModule
Logout a user.
logout() -
Method in class com.ibm.security.auth.module.LinuxLoginModule
Logout the user.
logout() -
Method in class javax.security.auth.login.LoginContext
Logout the
Subject
.
logout() -
Method in interface javax.security.auth.spi.LoginModule
Method which logs out a
Subject
.
longValue() -
Method in class com.ibm.security.auth.GroupIDPrincipal
Return the user's group identification number (GID)
for this
GroupIDPrincipal
as a long.
longValue() -
Method in class com.ibm.security.auth.PrimaryGroupIDPrincipal
Return the user's primary group identification number (GID)
for this
PrimaryGroupIDPrincipal
as a long.
longValue() -
Method in class com.ibm.security.auth.UserIDPrincipal
Return the user identification number (UID) for this
UserIDPrincipal
as a long.
N
NameCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
NameCallback
to the handle
method of a CallbackHandler
to retrieve name information.
NameCallback(String) -
Constructor for class javax.security.auth.callback.NameCallback
Construct a
NameCallback
with a prompt.
NameCallback(String, String) -
Constructor for class javax.security.auth.callback.NameCallback
Construct a
NameCallback
with a prompt
and default name.
newPermissionCollection() -
Method in class javax.security.auth.PrivateCredentialPermission
Return a homogeneous collection of PrivateCredentialPermissions
in a
PermissionCollection
.
NO -
Static variable in class javax.security.auth.callback.ConfirmationCallback
NO option.
O
OK -
Static variable in class javax.security.auth.callback.ConfirmationCallback
OK option.
OK_CANCEL_OPTION -
Static variable in class javax.security.auth.callback.ConfirmationCallback
OK/CANCEL confirmation confirmation option.
OPTIONAL -
Static variable in class javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Optional
LoginModule
.
P
PasswordCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
PasswordCallback
to the handle
method of a CallbackHandler
to retrieve password information.
PasswordCallback(String, boolean) -
Constructor for class javax.security.auth.callback.PasswordCallback
Construct a
PasswordCallback
with a prompt
and a boolean specifying whether the password should be displayed
as it is being typed.
Policy - Class in javax.security.auth
Deprecated. as of JDK version 1.4 -- Replaced by java.security.Policy.
java.security.Policy has a method:
public PermissionCollection getPermissions (java.security.ProtectionDomain pd)and ProtectionDomain has a constructor:
public ProtectionDomain (CodeSource cs, PermissionCollection permissions, ClassLoader loader, Principal[] principals)These two APIs provide callers the means to query the Policy for Principal-based Permission entries.
Deprecated. Sole constructor.
PolicyFile - Class in com.ibm.security.auth
Deprecated. As of JDK 1.4, replaced by
sun.security.provider.PolicyFile
.
This class is entirely deprecated.
PolicyFile() -
Constructor for class com.ibm.security.auth.PolicyFile
Deprecated. Initializes the Policy object and reads the default policy
configuration file(s) into the Policy object.
PrimaryGroupIDPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class
and represents a user's primary group identification (GID).
PrimaryGroupIDPrincipal(String) -
Constructor for class com.ibm.security.auth.PrimaryGroupIDPrincipal
Create a
PrimaryGroupIDPrincipal
using a
String
representation of the user's primary
group identification.
PrimaryGroupIDPrincipal(long) -
Constructor for class com.ibm.security.auth.PrimaryGroupIDPrincipal
Create an
PrimaryGroupIDPrincipal
using a
long representation of the user's primary group
identification number (GID).
PrincipalComparator - Interface in com.ibm.security.auth
An object that implements the
java.security.Principal
interface typically also implements this interface to provide
a means for comparing that object to a specified Subject
.
PrivateCredentialPermission - Class in javax.security.auth
This class is used to protect access to private Credentials
belonging to a particular
Subject
.
PrivateCredentialPermission(String, String) -
Constructor for class javax.security.auth.PrivateCredentialPermission
Creates a new
PrivateCredentialPermission
with the specified name
.
R
refresh() -
Method in class com.ibm.security.auth.login.ConfigFile
Refresh and reload the Configuration by re-reading all of the
login configurations.
refresh() -
Method in class com.ibm.security.auth.PolicyFile
Deprecated. Refreshes the policy object by re-reading all the policy files.
refresh() -
Method in class javax.security.auth.login.Configuration
Refresh and reload the Configuration.
Deprecated. Refresh and reload the Policy.
refresh() -
Method in interface javax.security.auth.Refreshable
Update or extend the validity period for this
Object
.
Refreshable - Interface in javax.security.auth
Objects such as credentials may optionally implement this
interface to provide the capability to refresh itself.
RefreshFailedException - Exception in javax.security.auth
Signals that a
refresh
operation failed.
RefreshFailedException() -
Constructor for exception javax.security.auth.RefreshFailedException
Constructs a RefreshFailedException with no detail message.
RefreshFailedException(String) -
Constructor for exception javax.security.auth.RefreshFailedException
Constructs a RefreshFailedException with the specified detail
message.
REQUIRED -
Static variable in class javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Required
LoginModule
.
REQUISITE -
Static variable in class javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Requisite
LoginModule
.
RFC1779 -
Static variable in class javax.security.auth.x500.X500Principal
RFC 1779 String format of Distinguished Names.
RFC2253 -
Static variable in class javax.security.auth.x500.X500Principal
RFC 2253 String format of Distinguished Names.
S
ServerPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class
and represents the LAN server that validated a user's logon.
ServerPrincipal(String) -
Constructor for class com.ibm.security.auth.ServerPrincipal
Create an
ServerPrincipal
using a
String
representation of the LAN server name.
setConfiguration(Configuration) -
Static method in class javax.security.auth.login.Configuration
Set the login
Configuration
.
setLocale(Locale) -
Method in class javax.security.auth.callback.LanguageCallback
Set the retrieved
Locale
.
setName(String) -
Method in class javax.security.auth.callback.NameCallback
Set the retrieved name.
setPassword(char[]) -
Method in class javax.security.auth.callback.PasswordCallback
Set the retrieved password.
setPolicy(Policy) -
Static method in class javax.security.auth.Policy
Deprecated. Sets the system-wide Policy object.
setReadOnly() -
Method in class javax.security.auth.Subject
Set this
Subject
to be read-only.
setSelectedIndex(int) -
Method in class javax.security.auth.callback.ChoiceCallback
Set the selected choice.
setSelectedIndex(int) -
Method in class javax.security.auth.callback.ConfirmationCallback
Set the selected confirmation option.
setSelectedIndexes(int[]) -
Method in class javax.security.auth.callback.ChoiceCallback
Set the selected choices.
setText(String) -
Method in class javax.security.auth.callback.TextInputCallback
Set the retrieved text.
Subject - Class in javax.security.auth
A
Subject
represents a grouping of related information
for a single entity, such as a person.
Create an instance of a
Subject
with an empty Set
of Principals and empty
Sets of public and private credentials.
Subject(boolean, Set<? extends Principal>, Set<?>, Set<?>) -
Constructor for class javax.security.auth.Subject
Create an instance of a
Subject
with
Principals and credentials.
SubjectDomainCombiner - Class in javax.security.auth
A
SubjectDomainCombiner
updates ProtectionDomains
with Principals from the Subject
associated with this
SubjectDomainCombiner
.
SubjectDomainCombiner(Subject) -
Constructor for class javax.security.auth.SubjectDomainCombiner
Associate the provided
Subject
with this
SubjectDomainCombiner
.
SUFFICIENT -
Static variable in class javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Sufficient
LoginModule
.
T
Prompts and reads from the command line for answers to authentication
questions.
TextCallbackHandler() -
Constructor for class com.ibm.security.auth.callback.TextCallbackHandler
Creates a callback handler that prompts and reads from the
command line for answers to authentication questions.
TextInputCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
TextInputCallback
to the handle
method of a CallbackHandler
to retrieve generic text
information.
TextInputCallback(String) -
Constructor for class javax.security.auth.callback.TextInputCallback
Construct a
TextInputCallback
with a prompt.
TextInputCallback(String, String) -
Constructor for class javax.security.auth.callback.TextInputCallback
Construct a
TextInputCallback
with a prompt
and default input value.
TextOutputCallback - Class in javax.security.auth.callback
Underlying security services instantiate and pass a
TextOutputCallback
to the handle
method of a CallbackHandler
to display information messages,
warning messages and error messages.
TextOutputCallback(int, String) -
Constructor for class javax.security.auth.callback.TextOutputCallback
Construct a TextOutputCallback with a message type and message
to be displayed.
toString() -
Method in class com.ibm.security.auth.DomainIDPrincipal
Return a string representation of this
DomainIDPrincipal
.
toString() -
Method in class com.ibm.security.auth.DomainPrincipal
Return a string representation of this
DomainPrincipal
.
toString() -
Method in class com.ibm.security.auth.GroupIDPrincipal
Return a string representation of this
GroupIDPrincipal
.
toString() -
Method in class com.ibm.security.auth.JAASPrincipal
Return a string representation of this
JAASPrincipal
.
toString() -
Method in class com.ibm.security.auth.LdapPrincipal
Creates a string representation of this principal's name in the format
defined by RFC 2253.
toString() -
Method in class com.ibm.security.auth.PrimaryGroupIDPrincipal
Return a string representation of this
PrimaryGroupIDPrincipal
.
toString() -
Method in class com.ibm.security.auth.ServerPrincipal
Return a string representation of this
ServerPrincipal
.
toString() -
Method in class com.ibm.security.auth.UserIDPrincipal
Return a string representation of this
UserIDPrincipal
.
toString() -
Method in class com.ibm.security.auth.UsernamePrincipal
Return a string representation of this
UsernamePrincipal
.
toString() -
Method in class com.ibm.security.auth.WkstationPrincipal
Return a string representation of this
WkstationPrincipal
.
toString() -
Method in class com.ibm.security.auth.X500Principal
Deprecated. Return a string representation of this
X500Principal
.
toString() -
Method in class javax.security.auth.login.AppConfigurationEntry.LoginModuleControlFlag
Return a String representation of this controlFlag.
toString() -
Method in class javax.security.auth.Subject
Return the String representation of this
Subject
.
toString() -
Method in class javax.security.auth.x500.X500Principal
Return a user-friendly string representation of this
X500Principal
.
U
UNSPECIFIED_OPTION -
Static variable in class javax.security.auth.callback.ConfirmationCallback
Unspecified option type.
UnsupportedCallbackException - Exception in javax.security.auth.callback
Signals that a
CallbackHandler
does not
recognize a particular Callback
.
UnsupportedCallbackException(Callback) -
Constructor for exception javax.security.auth.callback.UnsupportedCallbackException
Constructs a
UnsupportedCallbackException
with no detail message.
UnsupportedCallbackException(Callback, String) -
Constructor for exception javax.security.auth.callback.UnsupportedCallbackException
Constructs a UnsupportedCallbackException with the specified detail
message.
UserIDPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class
and represents a user's identification (UID).
UserIDPrincipal(String) -
Constructor for class com.ibm.security.auth.UserIDPrincipal
Create an
UserIDPrincipal
using a
String
representation of the
user's identification.
UserIDPrincipal(long) -
Constructor for class com.ibm.security.auth.UserIDPrincipal
Create an
UserIDPrincipal
using a
long representation of the user's identification.
UsernamePrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class and
represents the username provided when logging onto a system or server.
UsernamePrincipal(String) -
Constructor for class com.ibm.security.auth.UsernamePrincipal
Create an
UsernamePrincipal
with a provided username.
W
WARNING -
Static variable in class javax.security.auth.callback.ConfirmationCallback
WARNING message type.
WARNING -
Static variable in class javax.security.auth.callback.TextOutputCallback
Warning message.
WkstationPrincipal - Class in com.ibm.security.auth
This class extends the
JAASPrincipal
class and
represents the workstation name the user is currently logged onto.
WkstationPrincipal(String) -
Constructor for class com.ibm.security.auth.WkstationPrincipal
Create an
WkstationPrincipal
using a
String
representation of the workstation name.
X
X500Principal - Class in com.ibm.security.auth
Deprecated. A new X500Principal class is available in the Java platform.
This X500Principal classs is entirely deprecated and
is here to allow for a smooth transition to the new
class.
X500Principal(String) -
Constructor for class com.ibm.security.auth.X500Principal
Deprecated. Create a X500Principal with an X.500 Name,
such as "CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US"
(RFC 1779 style).
X500Principal - Class in javax.security.auth.x500
This class represents an X.500
Principal
.
X500Principal(String) -
Constructor for class javax.security.auth.x500.X500Principal
Creates an
X500Principal
from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").
X500Principal(String, Map<String, String>) -
Constructor for class javax.security.auth.x500.X500Principal
Creates an
X500Principal
from a string representation of
an X.500 distinguished name (ex:
"CN=Duke, OU=JavaSoft, O=Sun Microsystems, C=US").
X500Principal(byte[]) -
Constructor for class javax.security.auth.x500.X500Principal
Creates an
X500Principal
from a distinguished name in
ASN.1 DER encoded form.
X500Principal(InputStream) -
Constructor for class javax.security.auth.x500.X500Principal
Creates an
X500Principal
from an InputStream
containing the distinguished name in ASN.1 DER encoded form.
X500PrivateCredential - Class in javax.security.auth.x500
This class represents an
X500PrivateCredential
.
X500PrivateCredential(X509Certificate, PrivateKey) -
Constructor for class javax.security.auth.x500.X500PrivateCredential
Creates an X500PrivateCredential that associates an X.509 certificate,
a private key and the KeyStore alias.
X500PrivateCredential(X509Certificate, PrivateKey, String) -
Constructor for class javax.security.auth.x500.X500PrivateCredential
Creates an X500PrivateCredential that associates an X.509 certificate,
a private key and the KeyStore alias.
Y
YES -
Static variable in class javax.security.auth.callback.ConfirmationCallback
YES option.
YES_NO_CANCEL_OPTION -
Static variable in class javax.security.auth.callback.ConfirmationCallback
YES/NO/CANCEL confirmation confirmation option.
YES_NO_OPTION -
Static variable in class javax.security.auth.callback.ConfirmationCallback
YES/NO confirmation option.