ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

org.jboss.shrinkwrap.descriptor.api.webcommon30
Interface LoginConfigType<T>

All Superinterfaces:
Child<T>

public interface LoginConfigType<T>
extends Child<T>

This interface defines the contract for the login-configType xsd type

Since:
Generation date :2012-05-09T23:45:05.33-07:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 LoginConfigType<T> authMethod(String authMethod)
          Sets the auth-method element
 String getAuthMethod()
          Returns the auth-method element
 FormLoginConfigType<LoginConfigType<T>> getOrCreateFormLoginConfig()
          If not already created, a new form-login-config element with the given value will be created.
 String getRealmName()
          Returns the realm-name element
 LoginConfigType<T> realmName(String realmName)
          Sets the realm-name element
 LoginConfigType<T> removeAuthMethod()
          Removes the auth-method element
 LoginConfigType<T> removeFormLoginConfig()
          Removes the form-login-config element
 LoginConfigType<T> removeRealmName()
          Removes the realm-name element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

authMethod

LoginConfigType<T> authMethod(String authMethod)
Sets the auth-method element

Parameters:
authMethod - the value for the element auth-method
Returns:
the current instance of LoginConfigType

getAuthMethod

String getAuthMethod()
Returns the auth-method element

Returns:
the node defined for the element auth-method

removeAuthMethod

LoginConfigType<T> removeAuthMethod()
Removes the auth-method element

Returns:
the current instance of LoginConfigType

realmName

LoginConfigType<T> realmName(String realmName)
Sets the realm-name element

Parameters:
realmName - the value for the element realm-name
Returns:
the current instance of LoginConfigType

getRealmName

String getRealmName()
Returns the realm-name element

Returns:
the node defined for the element realm-name

removeRealmName

LoginConfigType<T> removeRealmName()
Removes the realm-name element

Returns:
the current instance of LoginConfigType

getOrCreateFormLoginConfig

FormLoginConfigType<LoginConfigType<T>> getOrCreateFormLoginConfig()
If not already created, a new form-login-config element with the given value will be created. Otherwise, the existing form-login-config element will be returned.

Returns:
a new or existing instance of FormLoginConfigType>

removeFormLoginConfig

LoginConfigType<T> removeFormLoginConfig()
Removes the form-login-config element

Returns:
the current instance of LoginConfigType

ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.