public interface SecurityIdentityType<T> extends Child<T>
security-identityType
xsd typeModifier and Type | Method and Description |
---|---|
SecurityIdentityType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
RunAsType<SecurityIdentityType<T>> |
getOrCreateRunAs()
If not already created, a new
run-as element with the given value will be created. |
String |
getRunAsPrincipal()
Returns the
run-as-principal element |
Boolean |
isUseCallerIdentity()
Removes the
use-caller-identity element |
SecurityIdentityType<T> |
removeAllDescription()
Removes the
description element |
SecurityIdentityType<T> |
removeRunAs()
Removes the
run-as element |
SecurityIdentityType<T> |
removeRunAsPrincipal()
Removes the
run-as-principal element |
SecurityIdentityType<T> |
removeUseCallerIdentity()
Removes the
use-caller-identity element |
SecurityIdentityType<T> |
runAsPrincipal(String runAsPrincipal)
Sets the
run-as-principal element |
SecurityIdentityType<T> |
useCallerIdentity()
Sets the
use-caller-identity element |
SecurityIdentityType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsSecurityIdentityType
List<String> getAllDescription()
description
elementsdescription
SecurityIdentityType<T> removeAllDescription()
description
elementSecurityIdentityType
SecurityIdentityType<T> useCallerIdentity()
use-caller-identity
elementSecurityIdentityType
Boolean isUseCallerIdentity()
use-caller-identity
elementSecurityIdentityType
SecurityIdentityType<T> removeUseCallerIdentity()
use-caller-identity
elementSecurityIdentityType
RunAsType<SecurityIdentityType<T>> getOrCreateRunAs()
run-as
element with the given value will be created.
Otherwise, the existing run-as
element will be returned.RunAsType>
SecurityIdentityType<T> removeRunAs()
run-as
elementSecurityIdentityType
SecurityIdentityType<T> runAsPrincipal(String runAsPrincipal)
run-as-principal
elementrunAsPrincipal
- the value for the element run-as-principal
SecurityIdentityType
String getRunAsPrincipal()
run-as-principal
elementrun-as-principal
SecurityIdentityType<T> removeRunAsPrincipal()
run-as-principal
elementSecurityIdentityType
Copyright © 2016 JBoss by Red Hat. All rights reserved.