|
Oracle | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeployableCredentialProvider
A Credential Mapping provider that supports deploying policies on behalf of Resource Adapter deployment needs to implement this interface.
Basically, this is a credential mapping that says which credential needs to be used by a certain WebLogic Server user when connecting to an EIS. Not all Credential Mapping providers need to support this interface.
When a Resource Adapter (.rar
) is deployed, credentials
and mappings need to be created. Similarly, when the
Resource Adapter is re/hot deployed, the credentials and mappings need to
be updated. And, when the Resource Adapter is undeployed,
the credentials and mappings should be removed. This work needs to be
done by a Credential Mapping provider.
To help with this, there are two MBeans associated with Credential Mapping providers: one for providers who support deployment and one for those that do not support deployment. The one for deployment has an attribute that indicates whether this provider should be used for deployment.
Method Summary | |
---|---|
void |
deployCredentialMapping(Resource resource,
String initiatingPrincipal,
String eisUsername,
String eisPassword)
Deprecated. Deploys credential maps (that is, creates a credential mapping on behalf of a deployed Resource Adapter). |
void |
undeployCredentialMappings(Resource resource)
Deprecated. Undeploys credential maps (that is, deletes a credential mapping on behalf of an undeployed Resource Adapter). |
Methods inherited from interface weblogic.security.spi.CredentialProvider |
---|
getCredentialProvider |
Methods inherited from interface weblogic.security.spi.SecurityProvider |
---|
getDescription, initialize, shutdown |
Method Detail |
---|
void deployCredentialMapping(Resource resource, String initiatingPrincipal, String eisUsername, String eisPassword) throws ResourceCreationException
resource
- the EIS resource to which the credential mapping applies.initiatingPrincipal
- the WebLogic Server username for the credential
mapping to be deployed.eisUsername
- the external EIS username for the credential mapping
to be deployed.eisPassword
- the external EIS password for the credential mapping
to be deployed.
ResourceCreationException
- if an unexpected error occurs while
deploying the credential maps for the
specified resource.void undeployCredentialMappings(Resource resource) throws ResourceRemovalException
resource
- the Resource
object to which the
credential mapping applies.
ResourceRemovalException
- if an unexpected error occurs while undeploying
the specified resource.
|
Documentation is available at http://download.oracle.com/docs/cd/E12839_01/web.1111 Copyright 1996,2009, 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. Part Number E13941-01 Oracle WebLogic Server 10.3.1 API Reference |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |