| 
 | BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
public interface CredentialMapperV2
The CredentialMapperV2 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 CredentialMapperV2 interface is
 the part of a Credential Mapping provider that must return at least
 two specific credential formats:
 
javax.resource.spi.security.PasswordCredential class.
 Credential Mapping providers may implement other types of objects that represent other types of credentials in addition to the ones listed above.
| Field Summary | |
|---|---|
| static String | PASSWORD_TYPEThe 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 getCredentialmethods. | 
| static String | PKI_KEY_PAIR_TYPEThe 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 getCredentialmethods. | 
| static String | PKI_TRUSTED_CERTIFICATE_TYPEThe 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 getCredentialmethods. | 
| static String | SAML_ASSERTION_B64_TYPEThe SAML.Assertion64token is used to identify a SAML token
 that is a Base64 encodedSAML.Assertion. | 
| static String | SAML_ASSERTION_DOM_TYPEThe SAML.Assertion.DOMtoken is used to identify a SAML token
 that is a DOM Element representation of aSAML.Assertion. | 
| static String | SAML_ASSERTION_TYPEThe SAML.Assertiontoken is used to identify a SAML token
 in string XML form. | 
| static String | SAML2_ASSERTION_DOM_TYPEThe SAML2.Assertion.DOMtoken is used to identify a SAML 2.0 token
 that is a DOM Element representation of aSAML.Assertion. | 
| static String | SAML2_ASSERTION_TYPEThe SAML2.Assertiontoken is used to identify a SAML 2.0 token
 in string XML form. | 
| static String | USER_PASSWORD_TYPEThe 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 getCredentialmethods. | 
| Method Summary | |
|---|---|
|  Object | getCredential(Subject requestor,
              String initiator,
              Resource resource,
              ContextHandler handler,
              String credType)Returns credential of the specified type from the target resource associated with the specified initiator. | 
|  Object[] | getCredentials(Subject requestor,
               Subject initiator,
               Resource resource,
               ContextHandler handler,
               String credType)Returns credentials of the specified type from the target resource associated with the specified initiator. | 
| Field Detail | 
|---|
static final String PASSWORD_TYPE
getCredential methods.
 It is associated with credentials of type char[]
static final String USER_PASSWORD_TYPE
getCredential methods.
 It is associated with credentials of type
 javax.resource.spi.security.PasswordCredential
static final String PKI_KEY_PAIR_TYPE
getCredential methods.
 It is associated with credentials of type PKICredential
 to retrieve the key pair.
static final String PKI_TRUSTED_CERTIFICATE_TYPE
getCredential methods.
 It is associated with credentials of type
 PKICredential to retrieve the trusted certificate.
static final String SAML_ASSERTION_TYPE
SAML.Assertion token is used to identify a SAML token
 in string XML form.
static final String SAML_ASSERTION_B64_TYPE
SAML.Assertion64 token is used to identify a SAML token
 that is a Base64 encoded SAML.Assertion.
static final String SAML_ASSERTION_DOM_TYPE
SAML.Assertion.DOM token is used to identify a SAML token
 that is a DOM Element representation of a SAML.Assertion.
static final String SAML2_ASSERTION_TYPE
SAML2.Assertion token is used to identify a SAML 2.0 token
 in string XML form.
static final String SAML2_ASSERTION_DOM_TYPE
SAML2.Assertion.DOM token is used to identify a SAML 2.0 token
 that is a DOM Element representation of a SAML.Assertion.
| Method Detail | 
|---|
Object getCredential(Subject requestor,
                     String initiator,
                     Resource resource,
                     ContextHandler handler,
                     String credType)
null if
 no credentials were found.
requestor - subject requesting credentialsinitiator - the identity for which credentials are retrievedresource - the resource for which credentials are requestedhandler - a ContextHandler with optional extra datacredType - credential type
Object[] getCredentials(Subject requestor,
                        Subject initiator,
                        Resource resource,
                        ContextHandler handler,
                        String credType)
requestor - Subject requesting credentialsinitiator - the identity for which credentials are retrievedresource - the resource for which credentials are requestedhandler - a ContextHandler with optional extra datacredType - credential type
| 
 | Documentation is available at http://download.oracle.com/docs/cd/E13222_01/wls/docs100 Copyright 2006 BEA Systems Inc. | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||