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 thecredentialTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetPassword()Returns thepasswordelementStringgetSecurityDomain()Returns thesecurity-domainelementStringgetUserName()Returns theuser-nameelementCredentialType<T>password(String password)Sets thepasswordelementCredentialType<T>removePassword()Removes thepasswordelementCredentialType<T>removeSecurityDomain()Removes thesecurity-domainelementCredentialType<T>removeUserName()Removes theuser-nameelementCredentialType<T>securityDomain(String securityDomain)Sets thesecurity-domainelementCredentialType<T>userName(String userName)Sets theuser-nameelement
-
-
-
Method Detail
-
userName
CredentialType<T> userName(String userName)
Sets theuser-nameelement- Parameters:
userName- the value for the elementuser-name- Returns:
- the current instance of
CredentialType
-
getUserName
String getUserName()
Returns theuser-nameelement- Returns:
- the node defined for the element
user-name
-
removeUserName
CredentialType<T> removeUserName()
Removes theuser-nameelement- Returns:
- the current instance of
CredentialType
-
password
CredentialType<T> password(String password)
Sets thepasswordelement- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
CredentialType
-
getPassword
String getPassword()
Returns thepasswordelement- Returns:
- the node defined for the element
password
-
removePassword
CredentialType<T> removePassword()
Removes thepasswordelement- Returns:
- the current instance of
CredentialType
-
securityDomain
CredentialType<T> securityDomain(String securityDomain)
Sets thesecurity-domainelement- Parameters:
securityDomain- the value for the elementsecurity-domain- Returns:
- the current instance of
CredentialType
-
getSecurityDomain
String getSecurityDomain()
Returns thesecurity-domainelement- Returns:
- the node defined for the element
security-domain
-
removeSecurityDomain
CredentialType<T> removeSecurityDomain()
Removes thesecurity-domainelement- Returns:
- the current instance of
CredentialType
-
-