Class 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 the dsSecurityType xsd type
    • Constructor Detail

      • DsSecurityTypeImpl

        public DsSecurityTypeImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node)
      • DsSecurityTypeImpl

        public DsSecurityTypeImpl​(T t,
                                  String nodeName,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                                  org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
    • Method Detail

      • up

        public T up()
        Specified by:
        up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
      • userName

        public DsSecurityType<T> userName​(String userName)
        Sets the user-name element
        Specified by:
        userName in interface DsSecurityType<T>
        Parameters:
        userName - the value for the element user-name
        Returns:
        the current instance of DsSecurityType
      • getUserName

        public String getUserName()
        Returns the user-name element
        Specified by:
        getUserName in interface DsSecurityType<T>
        Returns:
        the node defined for the element user-name
      • password

        public DsSecurityType<T> password​(String password)
        Sets the password element
        Specified by:
        password in interface DsSecurityType<T>
        Parameters:
        password - the value for the element password
        Returns:
        the current instance of DsSecurityType
      • getPassword

        public String getPassword()
        Returns the password element
        Specified by:
        getPassword in interface DsSecurityType<T>
        Returns:
        the node defined for the element password
      • securityDomain

        public DsSecurityType<T> securityDomain​(String securityDomain)
        Sets the security-domain element
        Specified by:
        securityDomain in interface DsSecurityType<T>
        Parameters:
        securityDomain - the value for the element security-domain
        Returns:
        the current instance of DsSecurityType
      • getSecurityDomain

        public String getSecurityDomain()
        Returns the security-domain element
        Specified by:
        getSecurityDomain in interface DsSecurityType<T>
        Returns:
        the node defined for the element security-domain
      • getOrCreateReauthPlugin

        public ExtensionType<DsSecurityType<T>> getOrCreateReauthPlugin()
        If not already created, a new reauth-plugin element with the given value will be created. Otherwise, the existing reauth-plugin element will be returned.
        Specified by:
        getOrCreateReauthPlugin in interface DsSecurityType<T>
        Returns:
        a new or existing instance of ExtensionType>