public class DsSecurityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DsSecurityType<T>
dsSecurityType
xsd typeConstructor and 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) |
Modifier and Type | Method and Description |
---|---|
ExtensionType<DsSecurityType<T>> |
getOrCreateReauthPlugin()
If not already created, a new
reauth-plugin element with the given value will be created. |
String |
getPassword()
Returns the
password element |
String |
getSecurityDomain()
Returns the
security-domain element |
String |
getUserName()
Returns the
user-name element |
DsSecurityType<T> |
password(String password)
Sets the
password element |
DsSecurityType<T> |
removePassword()
Removes the
password element |
DsSecurityType<T> |
removeReauthPlugin()
Removes the
reauth-plugin element |
DsSecurityType<T> |
removeSecurityDomain()
Removes the
security-domain element |
DsSecurityType<T> |
removeUserName()
Removes the
user-name element |
DsSecurityType<T> |
securityDomain(String securityDomain)
Sets the
security-domain element |
T |
up() |
DsSecurityType<T> |
userName(String userName)
Sets the
user-name element |
public DsSecurityTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public DsSecurityType<T> userName(String userName)
user-name
elementuserName
in interface DsSecurityType<T>
userName
- the value for the element user-name
DsSecurityType
public String getUserName()
user-name
elementgetUserName
in interface DsSecurityType<T>
user-name
public DsSecurityType<T> removeUserName()
user-name
elementremoveUserName
in interface DsSecurityType<T>
DsSecurityType
public DsSecurityType<T> password(String password)
password
elementpassword
in interface DsSecurityType<T>
password
- the value for the element password
DsSecurityType
public String getPassword()
password
elementgetPassword
in interface DsSecurityType<T>
password
public DsSecurityType<T> removePassword()
password
elementremovePassword
in interface DsSecurityType<T>
DsSecurityType
public DsSecurityType<T> securityDomain(String securityDomain)
security-domain
elementsecurityDomain
in interface DsSecurityType<T>
securityDomain
- the value for the element security-domain
DsSecurityType
public String getSecurityDomain()
security-domain
elementgetSecurityDomain
in interface DsSecurityType<T>
security-domain
public DsSecurityType<T> removeSecurityDomain()
security-domain
elementremoveSecurityDomain
in interface DsSecurityType<T>
DsSecurityType
public ExtensionType<DsSecurityType<T>> getOrCreateReauthPlugin()
reauth-plugin
element with the given value will be created.
Otherwise, the existing reauth-plugin
element will be returned.getOrCreateReauthPlugin
in interface DsSecurityType<T>
ExtensionType>
public DsSecurityType<T> removeReauthPlugin()
reauth-plugin
elementremoveReauthPlugin
in interface DsSecurityType<T>
DsSecurityType
Copyright © 2017 JBoss by Red Hat. All rights reserved.