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 Summary
Modifier and TypeMethodDescriptionReturns thepasswordelementReturns thesecurity-domainelementReturns theuser-nameelementSets thepasswordelementRemoves thepasswordelementRemoves thesecurity-domainelementRemoves theuser-nameelementsecurityDomain(String securityDomain) Sets thesecurity-domainelementSets theuser-nameelementMethods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
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
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
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
-