org.jboss.shrinkwrap.descriptor.api.jboss51
Interface SecurityIdentityType<T>

All Superinterfaces:
Child<T>

public interface SecurityIdentityType<T>
extends Child<T>

This interface defines the contract for the security-identityType xsd type

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

Method Summary
 SecurityIdentityType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 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
 SecurityIdentityType<T> id(String id)
          Sets the id attribute
 Boolean isUseCallerIdentity()
          Removes the use-caller-identity element
 SecurityIdentityType<T> removeAllDescription()
          Removes the description element
 SecurityIdentityType<T> removeId()
          Removes the id attribute
 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
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

SecurityIdentityType<T> description(String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
values - list of description objects
Returns:
the current instance of SecurityIdentityType

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

SecurityIdentityType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of SecurityIdentityType

useCallerIdentity

SecurityIdentityType<T> useCallerIdentity()
Sets the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

isUseCallerIdentity

Boolean isUseCallerIdentity()
Removes the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

removeUseCallerIdentity

SecurityIdentityType<T> removeUseCallerIdentity()
Removes the use-caller-identity element

Returns:
the current instance of SecurityIdentityType

getOrCreateRunAs

RunAsType<SecurityIdentityType<T>> getOrCreateRunAs()
If not already created, a new run-as element with the given value will be created. Otherwise, the existing run-as element will be returned.

Returns:
a new or existing instance of RunAsType>

removeRunAs

SecurityIdentityType<T> removeRunAs()
Removes the run-as element

Returns:
the current instance of SecurityIdentityType

runAsPrincipal

SecurityIdentityType<T> runAsPrincipal(String runAsPrincipal)
Sets the run-as-principal element

Parameters:
runAsPrincipal - the value for the element run-as-principal
Returns:
the current instance of SecurityIdentityType

getRunAsPrincipal

String getRunAsPrincipal()
Returns the run-as-principal element

Returns:
the node defined for the element run-as-principal

removeRunAsPrincipal

SecurityIdentityType<T> removeRunAsPrincipal()
Removes the run-as-principal element

Returns:
the current instance of SecurityIdentityType

id

SecurityIdentityType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of SecurityIdentityType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

SecurityIdentityType<T> removeId()
Removes the id attribute

Returns:
the current instance of SecurityIdentityType


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