|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.ejbjar31.SecurityIdentityTypeImpl<T>
public class SecurityIdentityTypeImpl<T>
This class implements the security-identityType xsd type
Original Documentation:
The security-identityType specifies whether the caller's
security identity is to be used for the execution of the
methods of the enterprise bean or whether a specific run-as
identity is to be used. It contains an optional description
and a specification of the security identity to be used.
| Constructor Summary | |
|---|---|
SecurityIdentityTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
SecurityIdentityTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.Boolean |
isUseCallerIdentity()
|
SecurityIdentityType<T> |
removeAllDescription()
Removes the description element |
SecurityIdentityType<T> |
removeRunAs()
Removes the run-as element |
RunAsType<SecurityIdentityType<T>> |
runAs()
If not already created, a new run-as element will be created and returned. |
SecurityIdentityType<T> |
setDescription(java.lang.String description)
Creates a new description element |
SecurityIdentityType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
T |
up()
|
SecurityIdentityType<T> |
useCallerIdentity()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SecurityIdentityTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public SecurityIdentityTypeImpl(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 SecurityIdentityType<T> setDescription(java.lang.String description)
description element
setDescription in interface SecurityIdentityType<T>SecurityIdentityTypepublic SecurityIdentityType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface SecurityIdentityType<T>list - of description objects
SecurityIdentityTypepublic SecurityIdentityType<T> removeAllDescription()
description element
removeAllDescription in interface SecurityIdentityType<T>SecurityIdentityTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface SecurityIdentityType<T>descriptionpublic SecurityIdentityType<T> useCallerIdentity()
useCallerIdentity in interface SecurityIdentityType<T>public java.lang.Boolean isUseCallerIdentity()
isUseCallerIdentity in interface SecurityIdentityType<T>public SecurityIdentityType<T> removeRunAs()
run-as element
removeRunAs in interface SecurityIdentityType<T>SecurityIdentityTypepublic RunAsType<SecurityIdentityType<T>> runAs()
run-as element will be created and returned.
Otherwise, the existing run-as element will be returned.
runAs in interface SecurityIdentityType<T>run-as
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||