public interface CredentialManager
Modifier and Type | Method and Description |
---|---|
void |
createApplicationVersion(java.lang.String appIdentifier,
java.lang.String sourceAppIdentifier)
Marks the creation of a new application version and is only called
on one server within a WebLogic Server domain at the time the version is created.
|
void |
deleteApplication(java.lang.String appName)
Marks the deletion of a non-versioned application and is only called
on one server within a WebLogic Server domain at the time the application is deleted.
|
void |
deleteApplicationVersion(java.lang.String appIdentifier)
Marks the deletion of an application version and is only called
on one server within a WebLogic Server domain at the time the version is deleted.
|
java.lang.Object[] |
getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor,
weblogic.security.acl.internal.AuthenticatedSubject initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
Returns credentials of the specified type from the target resource
associated with the specified subject.
|
java.util.Vector |
getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor,
weblogic.security.acl.internal.AuthenticatedSubject initiator,
Resource resource,
java.lang.String[] credentialTypes)
Deprecated.
As of WebLogic Server 9.0, replaced with
getCredentials(AuthenticatedSubject, AuthenticatedSubject, Resource, String)
|
java.lang.Object[] |
getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor,
java.lang.String initiator,
Resource resource,
ContextHandler handler,
java.lang.String credType)
Returns credentials of the specified type from the target resource
associated with the specified subject.
|
java.util.Vector |
getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor,
java.lang.String initiator,
Resource resource,
java.lang.String[] credentialTypes)
Deprecated.
As of WebLogic Server 9.0, replaced with
getCredentials(AuthenticatedSubject, String, Resource, String)
|
boolean |
isVersionableApplicationSupported()
Returns
true if all the credential mappers support the
VersionableApplicationProvider security service provider interface. |
java.lang.Object[] getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, weblogic.security.acl.internal.AuthenticatedSubject initiator, Resource resource, ContextHandler handler, java.lang.String credType)
null
if
no credentials were found.
This method should be used when the initiator identity is a
WebLogic user or group in order that the (optional) identity domain information
is available from the Subject's principals that implement
IdentityDomainPrincipal
.
requestor
- Subject requesting credentialsinitiator
- the identity for which credential is retrievedresource
- Resource for which credentials are requestedcredType
- Credential typejava.lang.Object[] getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, java.lang.String initiator, Resource resource, ContextHandler handler, java.lang.String credType)
null
if
no credentials were found.
This method should be used when the initiator identity is a an alias or symbolic name, including when the identity is an external user.
requestor
- Subject requesting credentialsinitiator
- the identity for which credential is retrievedresource
- Resource for which credentials are requestedcredType
- Credential type@Deprecated java.util.Vector getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, weblogic.security.acl.internal.AuthenticatedSubject initiator, Resource resource, java.lang.String[] credentialTypes) throws NotYetInitializedException, InvalidParameterException
SUCCESS
or INFORMATION
are
generated depending upon whether any credentials were returned.requestor
- an AuthenticatedSubject
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
- an AuthenticatedSubject
that specifies 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 that indicates that type of
resource on which the Subject is attempting to perform a
requestcredentialTypes
- an array of credential type String
definitions used by a CredentialMapper
for supported credential type recognitionjavax.resource.spi.security.GenericCredential
or a javax.resource.spi.PasswordCredential
.NotYetInitializedException
InvalidParameterException
@Deprecated java.util.Vector getCredentials(weblogic.security.acl.internal.AuthenticatedSubject requestor, java.lang.String initiator, Resource resource, java.lang.String[] credentialTypes)
SUCCESS
or INFORMATION
are
generated depending upon whether any credentials were returned.requestor
- a Subject that specifies 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 that specifies that represent the identity
for which credential information is being retrievedresource
- a Resource
object that indicates that type of
resource on which the Subject is attempting to perform a
requestcredentialTypes
- an array of credential type String
definitions used by a CredentialMapper
for supported credential type recognition.boolean isVersionableApplicationSupported()
true
if all the credential mappers support the
VersionableApplicationProvider
security service provider interface.void createApplicationVersion(java.lang.String appIdentifier, java.lang.String sourceAppIdentifier) throws ApplicationVersionCreationException
void deleteApplicationVersion(java.lang.String appIdentifier) throws ApplicationVersionRemovalException
void deleteApplication(java.lang.String appName) throws ApplicationRemovalException
ApplicationRemovalException