|
Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CredentialMapper
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 String |
USER_PASSWORD_TYPE
Deprecated. 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 | |
---|---|
Object |
getCredentials(Subject requestor,
String initiator,
Resource resource,
String[] credentialTypes)
Deprecated. Gets the set of supported credentials for the target resource, based on the identity of the initiating principal. |
Vector |
getCredentials(Subject requestor,
Subject initiator,
Resource resource,
String[] credentialTypes)
Deprecated. 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 |
---|
static final String USER_PASSWORD_TYPE
getCredential
method.
It is used to determine the credential type requested by the caller.
Method Detail |
---|
Vector getCredentials(Subject requestor, Subject initiator, Resource resource, 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.Object getCredentials(Subject requestor, String initiator, Resource resource, 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.
|
Copyright 1996, 2010, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Oracle Fusion Middleware Oracle WebLogic Server API Reference 11g Release 1 (10.3.4) Part Number E13941-04 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |