public interface PKICredentialMapEditorMBean extends PKICredentialMapReaderMBean
| Modifier and Type | Method and Description |
|---|---|
void |
removePKICredentialMapping(String resourceId,
String principalName,
boolean isInitiatorUserName,
String credAction,
String credType)
Removes the mapping between the principalName, resourceid and credential action
to the keystore alias.
|
void |
setCertificateCredential(String resourceId,
String principalName,
boolean isInitiatorUserName,
String credAction,
String keystoreAlias)
Creates a public certificate mapping between the principalName, resourceid and
credential action to the keystore alias.
|
void |
setKeypairCredential(String resourceId,
String principalName,
boolean isInitiatorUserName,
String credAction,
String keystoreAlias,
char[] password)
Creates a keypair mapping between the principalName, resourceid and credential action to the
keystore alias and the corresponding password.
|
getCertificate, getCurrentCredAction, getCurrentCredential, getCurrentInitiatorName, getCurrentResourceId, getKeystoreAlias, isInitiatorUserName, listAllCertEntryAliases, listAllKeypairEntryAliases, listMappings, listMappingsByPatternadvance, close, haveCurrentgetNameaddPropertyChangeListener, createChildCopyIncludingObsolete, getParentBean, isEditable, removePropertyChangeListenervoid setKeypairCredential(String resourceId, String principalName, boolean isInitiatorUserName, String credAction, String keystoreAlias, char[] password) throws CreateException
resourceId - - The resource for which the user name is mapped to the keystore
alias and password.principalName - - The principalName used in the credential mapping.isInitiatorUserName - - True if the initiator name is a user name.
False if it is a group.credAction - - The credential action.keystoreAlias - - The keystore alias.password - - The password for the keystore entry.CreateException - - Exception thrown if the keystore alias
does not point to a keypair entry or if the
password supplied here is not correct.void setCertificateCredential(String resourceId, String principalName, boolean isInitiatorUserName, String credAction, String keystoreAlias) throws CreateException
resourceId - - The resource for which the user name is mapped to the keystore
alias.principalName - - The principalName used in the credential mapping.isInitiatorUserName - - True if the initiator name is a user name.
False if it is a group.credAction - - The credential action.keystoreAlias - - The keystore alias.CreateException - - Exception thrown if the keystore alias
does not point to a certificate entry.void removePKICredentialMapping(String resourceId, String principalName, boolean isInitiatorUserName, String credAction, String credType) throws NotFoundException
resourceId - - The resource for which the user name is mapped to the
keystore alias and password.principalName - - The principalName used in the credential mapping.isInitiatorUserName - - True if the initiator name is a user name.
False if it is a group.credAction - - The credential action.credType - - The credential type.NotFoundException