org.jboss.datasources.api
Interface DsSecurityType<T>

All Superinterfaces:
Child<T>
All Known Implementing Classes:
DsSecurityTypeImpl

public interface DsSecurityType<T>
extends Child<T>

This interface defines the contract for the dsSecurityType xsd type

Since:
Generation date :2013-01-26T19:27:02.583+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 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
 DsSecurityType<T> userName(String userName)
          Sets the user-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

userName

DsSecurityType<T> userName(String userName)
Sets the user-name element

Parameters:
userName - the value for the element user-name
Returns:
the current instance of DsSecurityType

getUserName

String getUserName()
Returns the user-name element

Returns:
the node defined for the element user-name

removeUserName

DsSecurityType<T> removeUserName()
Removes the user-name element

Returns:
the current instance of DsSecurityType

password

DsSecurityType<T> password(String password)
Sets the password element

Parameters:
password - the value for the element password
Returns:
the current instance of DsSecurityType

getPassword

String getPassword()
Returns the password element

Returns:
the node defined for the element password

removePassword

DsSecurityType<T> removePassword()
Removes the password element

Returns:
the current instance of DsSecurityType

securityDomain

DsSecurityType<T> securityDomain(String securityDomain)
Sets the security-domain element

Parameters:
securityDomain - the value for the element security-domain
Returns:
the current instance of DsSecurityType

getSecurityDomain

String getSecurityDomain()
Returns the security-domain element

Returns:
the node defined for the element security-domain

removeSecurityDomain

DsSecurityType<T> removeSecurityDomain()
Removes the security-domain element

Returns:
the current instance of DsSecurityType

getOrCreateReauthPlugin

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.

Returns:
a new or existing instance of ExtensionType>

removeReauthPlugin

DsSecurityType<T> removeReauthPlugin()
Removes the reauth-plugin element

Returns:
the current instance of DsSecurityType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.