|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.webcommon30.LoginConfigTypeImpl<T>
public class LoginConfigTypeImpl<T>
This class implements the login-configType xsd type
Original Documentation:
The login-configType is used to configure the authentication
method that should be used, the realm name that should be
used for this application, and the attributes that are
needed by the form login mechanism.
Used in: web-app
| Constructor Summary | |
|---|---|
LoginConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
LoginConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
FormLoginConfigType<LoginConfigType<T>> |
formLoginConfig()
If not already created, a new form-login-config element will be created and returned. |
java.lang.String |
getAuthMethod()
Returns the auth-method element |
java.lang.String |
getRealmName()
Returns 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 |
LoginConfigType<T> |
setAuthMethod(java.lang.String authMethod)
If not already created, a new auth-method element with the given value will be created. |
LoginConfigType<T> |
setRealmName(java.lang.String realmName)
If not already created, a new realm-name element with the given value will be created. |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LoginConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public LoginConfigTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public LoginConfigType<T> setAuthMethod(java.lang.String authMethod)
auth-method element with the given value will be created.
Otherwise, the existing auth-method element will be updated with the given value.
setAuthMethod in interface LoginConfigType<T>LoginConfigTypepublic LoginConfigType<T> removeAuthMethod()
auth-method element
removeAuthMethod in interface LoginConfigType<T>LoginConfigTypepublic java.lang.String getAuthMethod()
auth-method element
getAuthMethod in interface LoginConfigType<T>auth-methodpublic LoginConfigType<T> setRealmName(java.lang.String realmName)
realm-name element with the given value will be created.
Otherwise, the existing realm-name element will be updated with the given value.
setRealmName in interface LoginConfigType<T>LoginConfigTypepublic LoginConfigType<T> removeRealmName()
realm-name element
removeRealmName in interface LoginConfigType<T>LoginConfigTypepublic java.lang.String getRealmName()
realm-name element
getRealmName in interface LoginConfigType<T>realm-namepublic LoginConfigType<T> removeFormLoginConfig()
form-login-config element
removeFormLoginConfig in interface LoginConfigType<T>LoginConfigTypepublic FormLoginConfigType<LoginConfigType<T>> formLoginConfig()
form-login-config element will be created and returned.
Otherwise, the existing form-login-config element will be returned.
formLoginConfig in interface LoginConfigType<T>form-login-config
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||