Class DsSecurityTypeImpl<T>
- java.lang.Object
-
- org.jboss.jca.embedded.dsl.datasources12.impl.DsSecurityTypeImpl<T>
-
- All Implemented Interfaces:
DsSecurityType<T>,org.jboss.shrinkwrap.descriptor.api.Child<T>
public class DsSecurityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DsSecurityType<T>
This class implements thedsSecurityTypexsd type
-
-
Constructor Summary
Constructors Constructor Description DsSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)DsSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
-
Method Summary
All Methods Instance Methods Concrete 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-domainelementTup()DsSecurityType<T>userName(String userName)Sets theuser-nameelement
-
-
-
Method Detail
-
userName
public DsSecurityType<T> userName(String userName)
Sets theuser-nameelement- Specified by:
userNamein interfaceDsSecurityType<T>- Parameters:
userName- the value for the elementuser-name- Returns:
- the current instance of
DsSecurityType
-
getUserName
public String getUserName()
Returns theuser-nameelement- Specified by:
getUserNamein interfaceDsSecurityType<T>- Returns:
- the node defined for the element
user-name
-
removeUserName
public DsSecurityType<T> removeUserName()
Removes theuser-nameelement- Specified by:
removeUserNamein interfaceDsSecurityType<T>- Returns:
- the current instance of
DsSecurityType
-
password
public DsSecurityType<T> password(String password)
Sets thepasswordelement- Specified by:
passwordin interfaceDsSecurityType<T>- Parameters:
password- the value for the elementpassword- Returns:
- the current instance of
DsSecurityType
-
getPassword
public String getPassword()
Returns thepasswordelement- Specified by:
getPasswordin interfaceDsSecurityType<T>- Returns:
- the node defined for the element
password
-
removePassword
public DsSecurityType<T> removePassword()
Removes thepasswordelement- Specified by:
removePasswordin interfaceDsSecurityType<T>- Returns:
- the current instance of
DsSecurityType
-
securityDomain
public DsSecurityType<T> securityDomain(String securityDomain)
Sets thesecurity-domainelement- Specified by:
securityDomainin interfaceDsSecurityType<T>- Parameters:
securityDomain- the value for the elementsecurity-domain- Returns:
- the current instance of
DsSecurityType
-
getSecurityDomain
public String getSecurityDomain()
Returns thesecurity-domainelement- Specified by:
getSecurityDomainin interfaceDsSecurityType<T>- Returns:
- the node defined for the element
security-domain
-
removeSecurityDomain
public DsSecurityType<T> removeSecurityDomain()
Removes thesecurity-domainelement- Specified by:
removeSecurityDomainin interfaceDsSecurityType<T>- Returns:
- the current instance of
DsSecurityType
-
getOrCreateReauthPlugin
public 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.- Specified by:
getOrCreateReauthPluginin interfaceDsSecurityType<T>- Returns:
- a new or existing instance of
ExtensionType>
-
removeReauthPlugin
public DsSecurityType<T> removeReauthPlugin()
Removes thereauth-pluginelement- Specified by:
removeReauthPluginin interfaceDsSecurityType<T>- Returns:
- the current instance of
DsSecurityType
-
-