Interface SAPUsernamePassword

    • Method Detail

      • getAuthType

        SAPUsernamePasswordAuthType getAuthType()
        Get the value for AuthType. (Specifies the authentication type) This value is mandatory, and therefore will not be null if this object has been retrieved from the database.
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getPassword

        String getPassword()
        Get the value for Password. (Clear-text password for SAP connection.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getUsername

        String getUsername()
        Get the value for Username. (Username for SAP connection.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getCredentialUserType

        CredentialUserType getCredentialUserType()
        Get the value for CredentialUserType. (Username for the credential to use for the SAP connection.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getCredentialUser

        String getCredentialUser()
        Get the value for CredentialUser. (Username for the credential to use for the SAP connection.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getCredentialEndpoint

        String getCredentialEndpoint()
        Get the value for CredentialEndpoint. (Username for the credential to use for the SAP connection.)
        Returns:
        the field
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setAuthType

        void setAuthType​(SAPUsernamePasswordAuthType newAuthType)
        Set the value for AuthType. (Specifies the authentication type) This value is mandatory.
        Parameters:
        newAuthType - the new value for AuthType. If this is null, then the object cannot be persisted.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setPassword

        void setPassword​(String newPassword)
        Set the value for Password. (Clear-text password for SAP connection.) This value is optional.
        Parameters:
        newPassword - the new value for Password.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setUsername

        void setUsername​(String newUsername)
        Set the value for Username. (Username for SAP connection.) This value is optional.
        Parameters:
        newUsername - the new value for Username.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setCredentialUserType

        void setCredentialUserType​(CredentialUserType newCredentialUserType)
        Set the value for CredentialUserType. (Username for the credential to use for the SAP connection.) This value is optional.
        Parameters:
        newCredentialUserType - the new value for CredentialUserType.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setCredentialUser

        void setCredentialUser​(String newCredentialUser)
        Set the value for CredentialUser. (Username for the credential to use for the SAP connection.) This value is optional.
        Parameters:
        newCredentialUser - the new value for CredentialUser.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • setCredentialEndpoint

        void setCredentialEndpoint​(String newCredentialEndpoint)
        Set the value for CredentialEndpoint. (Username for the credential to use for the SAP connection.) This value is optional.
        Parameters:
        newCredentialEndpoint - the new value for CredentialEndpoint.
        Throws:
        ObjectNotAttachedToSessionException - This will be thrown if this method is called while the object is not attached to a session.
      • getStoredPassword

        String getStoredPassword()
        Get the value as stored with setPassword(String). The method getPassword() may return the password from a Credential, i.s.o. what is stored on this object. The method getStoredPassword() will return the password that is stored on this object.
        Returns:
        The password that is stored on this object.
      • getStoredUsername

        String getStoredUsername()
        Get the value as stored with setUsername(String). The method getUsername() may return the (real) user from a Credential, i.s.o. what is stored on this object. The method getStoredUsername() will return the username that is stored on this object.
        Returns:
        The username that is stored on this object.