com.ibm.portal.portlet.service.credentialvault.spi
Interface CredentialDataEntry


public interface CredentialDataEntry

Interface that provides information about a credential that is exported. This information includes

  • the CredentialSecret
  • the distinguished name of the user who owns the secret PumaProfile.getIdentifier(com.ibm.portal.um.Principal)
  • the name of the resource where the credential s stored
  • Since:
    7.0
    See Also:
    UserIDChangeListener, PumaProfile
    Note:
    This interface is designed to be implemented by clients.

    Method Summary
     CredentialSecret getCredentialSecret()
              This method returns the CredentialSecret that is to be exported.
     java.lang.String getResource()
              This method returns the name of the resource where the credential secret is stored.
     java.lang.String getUserDN()
              This method returns the distinguished name (DN) of the user who owns the secret.
     

    Method Detail

    getResource

    java.lang.String getResource()
    This method returns the name of the resource where the credential secret is stored.

    Returns:
    the name of the resource where the credential s stored

    getUserDN

    java.lang.String getUserDN()
    This method returns the distinguished name (DN) of the user who owns the secret. The DN of a user can be looked up PumaProfile.getIdentifier(com.ibm.portal.um.Principal).

    Returns:
    the distinguished name of the user who owns the secret

    getCredentialSecret

    CredentialSecret getCredentialSecret()
    This method returns the CredentialSecret that is to be exported.

    Returns:
    the credential secret that is to be exported