|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The CredentialMapper interface defines the security service provider
interface (SSPI) for objects capable of obtaining the appropriate set
of credentials for a particular resource that is scoped within an application.
An implementation of the CredentialMapper interface is the part of a
Credential Mapping provider that must return at least
two specific credential formats as defined by the Java Connector Architecture
specification:
javax.resource.spi.security.PasswordCredential class.
An implementation is not expected to populate the ManagedConnectionFactory.
javax.resource.spi.security.GenericCredential interface.
| Field Summary | |
static java.lang.String |
USER_PASSWORD_TYPE
The static credentials type identifier that is used by the WebLogic Security Framework and passed to the WebLogic Credential Mapping provider through the Credential Manager in the getCredential method.
|
| Method Summary | |
java.lang.Object |
getCredentials(javax.security.auth.Subject requestor,
java.lang.String initiator,
Resource resource,
java.lang.String[] credentialTypes)
Gets the set of supported credentials for the target resource, based on the identity of the initiating principal. |
java.util.Vector |
getCredentials(javax.security.auth.Subject requestor,
javax.security.auth.Subject initiator,
Resource resource,
java.lang.String[] credentialTypes)
Gets the set of supported credentials for the target resource, based on the identity of the initiating principal that is specified in the subject. |
| Field Detail |
public static final java.lang.String USER_PASSWORD_TYPE
getCredential method.
It is used to determine the credential type requested by the caller.| Method Detail |
public java.util.Vector getCredentials(javax.security.auth.Subject requestor,
javax.security.auth.Subject initiator,
Resource resource,
java.lang.String[] credentialTypes)
requestor - a Subject object specifying one or more principals
that represent the identity of the entity that
is requesting the credential information.
Some of the principals contained within the subject
may represent alternate identities, such as the
identity of a group for which the subject is a member.initiator - a Subject object specifying one or more principals
that represent the identity for which credential information is
being retrieved.
Some of the principals contained within the subject
may represent alternate identities, such as the
identity of a group for which the subject is a member.resource - a Resource object indicating the type of
resource on which the subject is attempting to perform a
request.credentialTypes - an array of String objects specifying the types of
credentials being requested.Vector object containing the appropriate type of
credentials for the target resource.
public java.lang.Object getCredentials(javax.security.auth.Subject requestor,
java.lang.String initiator,
Resource resource,
java.lang.String[] credentialTypes)
requestor - a Subject object specifying one or more principals
that represent the identity of the entity that
is requesting the credential information.
Some of the principals contained within the subject
may represent alternate identities, such as the
identity of a group for which the subject is a member.initiator - a String object specifying the identity for which
credential information is being retrieved.resource - a Resource object indicating the type of
resource on which the subject is attempting to perform a
request.credentialTypes - an array of String objects specifying the types of
credentials being requested.Object containing the appropriate type of
credentials for the target resource.
|
Documentation is available at http://download.oracle.com/docs/cd/E13169_01/ales/docs22 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||