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 thedsSecurityTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ExtensionType<DsSecurityType<T>>getOrCreateReauthPlugin()If not already created, a newreauth-pluginelement with the given value will be created.StringgetPassword()Returns thepasswordelementStringgetSecurityDomain()Returns thesecurity-domainelementStringgetUserName()Returns theuser-nameelementDsSecurityType<T>password(String password)Sets thepasswordelementDsSecurityType<T>removePassword()Removes thepasswordelementDsSecurityType<T>removeReauthPlugin()Removes thereauth-pluginelementDsSecurityType<T>removeSecurityDomain()Removes thesecurity-domainelementDsSecurityType<T>removeUserName()Removes theuser-nameelementDsSecurityType<T>securityDomain(String securityDomain)Sets thesecurity-domainelementDsSecurityType<T>userName(String userName)Sets theuser-nameelement
-
-
-
Method Detail
-
userName
DsSecurityType<T> userName(String 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
DsSecurityType<T> password(String 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
DsSecurityType<T> securityDomain(String 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
ExtensionType>
-
removeReauthPlugin
DsSecurityType<T> removeReauthPlugin()
Removes thereauth-pluginelement- Returns:
- the current instance of
DsSecurityType
-
-