Skip navigation links

Oracle Fusion Middleware
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09


weblogic.management.security.credentials
Interface PKICredentialMapExtendedReaderMBean

All Superinterfaces:
DescriptorBean, ListerMBean, PKICredentialMapReaderMBean, SettableBean, StandardInterface
All Known Subinterfaces:
PKICredentialMapExtendedEditorMBean

public interface PKICredentialMapExtendedReaderMBean
extends PKICredentialMapReaderMBean

Provides a set of methods for reading a credential map that matches users and resources to aliases and their corresponding passwords that can then be used to retrieve key information or public certificate information from the configured keystores.


Method Summary
abstract  String getCurrentInitiatorIdentityDomain(String cursor)
          Gets an identity domain associated with the user from a list that has been returned from the listMappings or the listMappingsByPattern() method.
abstract  String getKeystoreAlias(String resourceId, String userName, String identityDomain, boolean isInitiatorUserName, String credAction, String credType)
          Gets the keystore alias that is mapped to a username for a particular resource and credential action.

 

Methods inherited from interface weblogic.management.security.credentials.PKICredentialMapReaderMBean
getCertificate, getCurrentCredAction, getCurrentCredential, getCurrentInitiatorName, getCurrentResourceId, getKeystoreAlias, isInitiatorUserName, listAllCertEntryAliases, listAllKeypairEntryAliases, listMappings, listMappingsByPattern

 

Methods inherited from interface weblogic.management.utils.ListerMBean
advance, close, haveCurrent

 

Methods inherited from interface weblogic.management.commo.StandardInterface
getName

 

Methods inherited from interface weblogic.descriptor.DescriptorBean
addPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListener

 

Method Detail

getKeystoreAlias

String getKeystoreAlias(String resourceId,
                        String userName,
                        String identityDomain,
                        boolean isInitiatorUserName,
                        String credAction,
                        String credType)
                        throws NotFoundException
Gets the keystore alias that is mapped to a username for a particular resource and credential action.
Parameters:
resourceId - - The resource id that is used to map user names to keystore alias and password. A resource object such as weblogic.security.service.ResourceManager assigns IDs to external sources.
userName - - The username that is mapped to the alias and password.
identityDomain - - The identity domain of the user.
isInitiatorUserName - - Set true if the initiator name passed in is the username. False otherwise.
credAction - - The credential action for which the mapping is created for.
credType - - The credential type.
Returns:
The keystore Alias corresponding to the resourceId and username.
Throws:
NotFoundException - - This exception is thrown if the keystore alias is not found.

getCurrentInitiatorIdentityDomain

String getCurrentInitiatorIdentityDomain(String cursor)
                                         throws InvalidCursorException
Gets an identity domain associated with the user from a list that has been returned from the listMappings or the listMappingsByPattern() method. This method returns the identity domain associated with the username that corresponds to current location in the list.
Parameters:
cursor - - The cursor that has been returned from the listMappings method or the listMappingsByPattern.
Returns:
Returns the identity domain.
Throws:
InvalidCursorException

Skip navigation links

Copyright 1996, 2015, 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
Java API Reference for Oracle WebLogic Server
12c (12.2.1)

Part Number E55141-01
P4 Change 1723563 on 2015/10/09