com.cognos.CAM_AAA.authentication

Interface ICredential



  • public interface ICredential
    Defines the interface to use for implementing an IBM Cognos credential. A credential is a set of name-value pairs that represent authentication information, such as a username or password. A credential is transient, and can be used to provide single signon to a database that is sharing the same credentials as the current security infrastructure.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method and Description
      java.lang.String[] getCredentialNames()
      Returns the name portion of the name-value pairs within this credential.
      java.lang.String[] getCredentialValue(java.lang.String theName)
      Return the corresponding value for the specified name portion of a name-value pair in this credential.
    • Method Detail

      • getCredentialNames

        java.lang.String[] getCredentialNames()
        Returns the name portion of the name-value pairs within this credential. Returns null if none exists.
        Returns:
        An array containing the name portion of all name-value pairs in this credential.
      • getCredentialValue

        java.lang.String[] getCredentialValue(java.lang.String theName)
        Return the corresponding value for the specified name portion of a name-value pair in this credential. Returns null if no value exists.
        Parameters:
        theName - The name portion of the required name-value pair.
        Returns:
        An array containing all the values for the specified name.