public class DsSecurityTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, DsSecurityType<T>
dsSecurityType xsd type| Constructor 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-nameDsSecurityTypepublic String getUserName()
user-name elementgetUserName in interface DsSecurityType<T>user-namepublic DsSecurityType<T> removeUserName()
user-name elementremoveUserName in interface DsSecurityType<T>DsSecurityTypepublic DsSecurityType<T> password(String password)
password elementpassword in interface DsSecurityType<T>password - the value for the element passwordDsSecurityTypepublic String getPassword()
password elementgetPassword in interface DsSecurityType<T>passwordpublic DsSecurityType<T> removePassword()
password elementremovePassword in interface DsSecurityType<T>DsSecurityTypepublic DsSecurityType<T> securityDomain(String securityDomain)
security-domain elementsecurityDomain in interface DsSecurityType<T>securityDomain - the value for the element security-domainDsSecurityTypepublic String getSecurityDomain()
security-domain elementgetSecurityDomain in interface DsSecurityType<T>security-domainpublic DsSecurityType<T> removeSecurityDomain()
security-domain elementremoveSecurityDomain in interface DsSecurityType<T>DsSecurityTypepublic 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>DsSecurityTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.