Interface DsSecurityType<T>
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
DsSecurityTypeImpl
public interface DsSecurityType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>
This interface defines the contract for the
dsSecurityType xsd type-
Method Summary
Modifier and TypeMethodDescriptionIf not already created, a newreauth-pluginelement with the given value will be created.Returns thepasswordelementReturns thesecurity-domainelementReturns theuser-nameelementSets thepasswordelementRemoves thepasswordelementRemoves thereauth-pluginelementRemoves 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
DsSecurityType
-
getUserName
String getUserName()Returns theuser-nameelement- Returns:
- the node defined for the element
user-name
-
removeUserName
DsSecurityType<T> removeUserName()Removes theuser-nameelement- Returns:
- the current instance of
DsSecurityType
-
password
Sets thepasswordelement- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
DsSecurityType
-
getPassword
String getPassword()Returns thepasswordelement- Returns:
- the node defined for the element
password
-
removePassword
DsSecurityType<T> removePassword()Removes thepasswordelement- Returns:
- the current instance of
DsSecurityType
-
securityDomain
Sets thesecurity-domainelement- Parameters:
securityDomain- the value for the elementsecurity-domain- Returns:
- the current instance of
DsSecurityType
-
getSecurityDomain
String getSecurityDomain()Returns thesecurity-domainelement- Returns:
- the node defined for the element
security-domain
-
removeSecurityDomain
DsSecurityType<T> removeSecurityDomain()Removes thesecurity-domainelement- Returns:
- the current instance of
DsSecurityType
-
getOrCreateReauthPlugin
ExtensionType<DsSecurityType<T>> getOrCreateReauthPlugin()If not already created, a newreauth-pluginelement with the given value will be created. Otherwise, the existingreauth-pluginelement will be returned.- Returns:
- a new or existing instance of
ExtensionTypeinvalid input: '<'DsSecurityType>
-
removeReauthPlugin
DsSecurityType<T> removeReauthPlugin()Removes thereauth-pluginelement- Returns:
- the current instance of
DsSecurityType
-