|
BEA Systems, Inc. | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
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.
| Field Summary | |
static java.lang.String |
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 methods.
|
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 methods.
|
| Method Summary | |
java.lang.Object |
getCredential(javax.security.auth.Subject requestor,
java.lang.String alias,
ContextHandler handler,
java.lang.String credType)
Returns credential of the specified type stored under the specified alias. |
java.lang.Object |
getCredential(javax.security.auth.Subject requestor,
java.lang.String initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
Returns credential of the specified type from the target resource associated with the specified initiator. |
java.lang.Object[] |
getCredentials(javax.security.auth.Subject requestor,
javax.security.auth.Subject initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
Returns credentials of the specified type from the target resource associated with the specified initiator. |
| Field Detail |
public static final java.lang.String PASSWORD_TYPE
getCredential methods.
It is associated with credentials of type char[]public static final java.lang.String USER_PASSWORD_TYPE
getCredential methods.
It is associated with credentials of type
javax.resource.spi.security.PasswordCredential| Method Detail |
public java.lang.Object getCredential(javax.security.auth.Subject requestor,
java.lang.String alias,
ContextHandler handler,
java.lang.String credType)
requestor - Subject requesting credentialalias - Credential aliashandler - a ContextHandler with optional extra datacredType - Credential type
public java.lang.Object getCredential(javax.security.auth.Subject requestor,
java.lang.String initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
requestor - Subject requesting credentialsinitiator - The identity for which credentials are retrieved.resource - Resource which credentials are requested.handler - a ContextHandler with optional extra datacredType - Credential type
public java.lang.Object[] getCredentials(javax.security.auth.Subject requestor,
javax.security.auth.Subject initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
requestor - Subject requesting credentialsinitiator - The identity for which credentials are retrieved.resource - Resource which credentials are requested.handler - a ContextHandler with optional extra datacredType - Credential type
|
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 | |||||||||