Interface CredentialType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
CredentialTypeImpl

public interface CredentialType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the credentialType xsd type
  • Method Details

    • userName

      CredentialType<T> userName(String userName)
      Sets the user-name element
      Parameters:
      userName - the value for the element user-name
      Returns:
      the current instance of CredentialType
    • getUserName

      String getUserName()
      Returns the user-name element
      Returns:
      the node defined for the element user-name
    • removeUserName

      CredentialType<T> removeUserName()
      Removes the user-name element
      Returns:
      the current instance of CredentialType
    • password

      CredentialType<T> password(String password)
      Sets the password element
      Parameters:
      password - the value for the element password
      Returns:
      the current instance of CredentialType
    • getPassword

      String getPassword()
      Returns the password element
      Returns:
      the node defined for the element password
    • removePassword

      CredentialType<T> removePassword()
      Removes the password element
      Returns:
      the current instance of CredentialType
    • securityDomain

      CredentialType<T> securityDomain(String securityDomain)
      Sets the security-domain element
      Parameters:
      securityDomain - the value for the element security-domain
      Returns:
      the current instance of CredentialType
    • getSecurityDomain

      String getSecurityDomain()
      Returns the security-domain element
      Returns:
      the node defined for the element security-domain
    • removeSecurityDomain

      CredentialType<T> removeSecurityDomain()
      Removes the security-domain element
      Returns:
      the current instance of CredentialType