Class AbstractRoleType
- java.lang.Object
-
- com.evolveum.prism.xml.ns._public.types_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.AbstractRoleType
-
- All Implemented Interfaces:
Containerable
,JaxbVisitable
,Objectable
,DebugDumpable
,Serializable
,Cloneable
- Direct Known Subclasses:
ArchetypeType
,OrgType
,RoleType
,ServiceType
public abstract class AbstractRoleType extends FocusType implements Serializable, Cloneable
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> Abstract class that contains the "essence" of a role. This is kind of "Roleable" interface when speaking in Java terms. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> A role implies assignments. The role may "grant" accounts on resources, attributes and entitlements for such accounts. The role can also assign organizational units, other roles or various IDM objects that can be assigned directly to user. Role is in fact just a named set of assignments. </p>
<?xml version="1.0" encoding="UTF-8"?><p xmlns:a="http://prism.evolveum.com/xml/ns/public/annotation-3" xmlns:c="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:icfs="http://midpoint.evolveum.com/xml/ns/public/connector/icf-1/resource-schema-3" xmlns:jaxb="http://java.sun.com/xml/ns/jaxb" xmlns:q="http://prism.evolveum.com/xml/ns/public/query-3" xmlns:s="http://midpoint.evolveum.com/xml/ns/public/model/scripting-3" xmlns:t="http://prism.evolveum.com/xml/ns/public/types-3" xmlns:tns="http://midpoint.evolveum.com/xml/ns/public/common/common-3" xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> This is the basic building block of role-based access control (RBAC) in the provisioning system. It defines what rights (e.g. accounts) should be given to user, how they should look like (attributes) and what groups or native roles to assign to them (entitlements). </p>
Java class for AbstractRoleType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="AbstractRoleType"> <complexContent> <extension base="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}FocusType"> <sequence> <element name="displayName" type="{http://prism.evolveum.com/xml/ns/public/types-3}PolyStringType" minOccurs="0"/> <element name="identifier" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="inducement" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AssignmentType" maxOccurs="unbounded" minOccurs="0"/> <element name="authorization" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AuthorizationType" maxOccurs="unbounded" minOccurs="0"/> <element name="requestable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="delegable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/> <element name="idempotence" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}IdempotenceType" minOccurs="0"/> <element name="riskLevel" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/> <element name="condition" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}MappingType" minOccurs="0"/> <element name="adminGuiConfiguration" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AdminGuiConfigurationType" minOccurs="0"/> <element name="dataProtection" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}DataProtectionType" minOccurs="0"/> <element name="autoassign" type="{http://midpoint.evolveum.com/xml/ns/public/common/common-3}AutoassignSpecificationType" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QName
COMPLEX_TYPE
static ItemName
F_ADMIN_GUI_CONFIGURATION
static ItemName
F_AUTHORIZATION
static ItemName
F_AUTOASSIGN
static ItemName
F_CONDITION
static ItemName
F_DATA_PROTECTION
static ItemName
F_DELEGABLE
static ItemName
F_DISPLAY_NAME
static ItemName
F_IDEMPOTENCE
static ItemName
F_IDENTIFIER
static ItemName
F_INDUCEMENT
static ItemName
F_REQUESTABLE
static ItemName
F_RISK_LEVEL
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
F_ACTIVATION, F_BEHAVIOR, F_COST_CENTER, F_CREDENTIALS, F_EMAIL_ADDRESS, F_JPEG_PHOTO, F_LINK_REF, F_LOCALE, F_LOCALITY, F_PERSONA_REF, F_PREFERRED_LANGUAGE, F_TELEPHONE_NUMBER, F_TIMEZONE
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
-
Fields inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_DOCUMENTATION, F_EXTENSION, F_FETCH_RESULT, F_INDESTRUCTIBLE, F_LENS_CONTEXT, F_LIFECYCLE_STATE, F_METADATA, F_NAME, F_OPERATION_EXECUTION, F_PARENT_ORG_REF, F_POLICY_EXCEPTION, F_POLICY_SITUATION, F_SUBTYPE, F_TENANT_REF, F_TRIGGER, F_TRIGGERED_POLICY_RULE
-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description AbstractRoleType()
AbstractRoleType(PrismContext prismContext)
-
Method Summary
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.FocusType
asPrismContainer, asPrismContainerValue, createLinkRefList, createPersonaRefList, equals, getActivation, getBehavior, getCostCenter, getCredentials, getEmailAddress, getJpegPhoto, getLinkRef, getLocale, getLocality, getPersonaRef, getPreferredLanguage, getTelephoneNumber, getTimezone, hashCode, setActivation, setBehavior, setCostCenter, setCredentials, setEmailAddress, setJpegPhoto, setLocale, setLocality, setPreferredLanguage, setTelephoneNumber, setTimezone, setupContainer, setupContainerValue, toDebugName, toDebugType, toString
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.AssignmentHolderType
createArchetypeRefList, createAssignmentList, createDelegatedRefList, createRoleInfluenceRefList, createRoleMembershipRefList, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, setIteration, setIterationToken
-
Methods inherited from class com.evolveum.midpoint.xml.ns._public.common.common_3.ObjectType
createDiagnosticInformationList, createOperationExecutionList, createParentOrgRefList, createPolicyExceptionList, createPolicySituationList, createSubtypeList, createTriggeredPolicyRuleList, createTriggerList, getDescription, getDiagnosticInformation, getDocumentation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOid, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, getVersion, isIndestructible, setDescription, setDocumentation, setExtension, setFetchResult, setIndestructible, setLensContext, setLifecycleState, setMetadata, setName, setOid, setTenantRef, setVersion
-
Methods inherited from class com.evolveum.prism.xml.ns._public.types_3.ObjectType
accept
-
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface com.evolveum.midpoint.prism.Containerable
cloneWithoutId, debugDump
-
Methods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Methods inherited from interface com.evolveum.midpoint.prism.Objectable
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
-
-
-
-
Field Detail
-
COMPLEX_TYPE
public static final QName COMPLEX_TYPE
-
F_DISPLAY_NAME
public static final ItemName F_DISPLAY_NAME
-
F_IDENTIFIER
public static final ItemName F_IDENTIFIER
-
F_INDUCEMENT
public static final ItemName F_INDUCEMENT
-
F_AUTHORIZATION
public static final ItemName F_AUTHORIZATION
-
F_REQUESTABLE
public static final ItemName F_REQUESTABLE
-
F_DELEGABLE
public static final ItemName F_DELEGABLE
-
F_IDEMPOTENCE
public static final ItemName F_IDEMPOTENCE
-
F_RISK_LEVEL
public static final ItemName F_RISK_LEVEL
-
F_CONDITION
public static final ItemName F_CONDITION
-
F_ADMIN_GUI_CONFIGURATION
public static final ItemName F_ADMIN_GUI_CONFIGURATION
-
F_DATA_PROTECTION
public static final ItemName F_DATA_PROTECTION
-
F_AUTOASSIGN
public static final ItemName F_AUTOASSIGN
-
-
Constructor Detail
-
AbstractRoleType
public AbstractRoleType()
-
AbstractRoleType
public AbstractRoleType(PrismContext prismContext)
-
-
Method Detail
-
asPrismObject
public PrismObject<? extends AbstractRoleType> asPrismObject()
- Specified by:
asPrismObject
in interfaceObjectable
- Overrides:
asPrismObject
in classFocusType
-
getDisplayName
public PolyStringType getDisplayName()
-
setDisplayName
public void setDisplayName(PolyStringType value)
-
getIdentifier
public String getIdentifier()
-
setIdentifier
public void setIdentifier(String value)
-
getInducement
public List<AssignmentType> getInducement()
-
createInducementList
public List<AssignmentType> createInducementList()
-
getAuthorization
public List<AuthorizationType> getAuthorization()
-
createAuthorizationList
public List<AuthorizationType> createAuthorizationList()
-
isRequestable
public Boolean isRequestable()
-
setRequestable
public void setRequestable(Boolean value)
-
isDelegable
public Boolean isDelegable()
-
setDelegable
public void setDelegable(Boolean value)
-
getIdempotence
public IdempotenceType getIdempotence()
-
setIdempotence
public void setIdempotence(IdempotenceType value)
-
getRiskLevel
public String getRiskLevel()
-
setRiskLevel
public void setRiskLevel(String value)
-
getCondition
public MappingType getCondition()
-
setCondition
public void setCondition(MappingType value)
-
getAdminGuiConfiguration
public AdminGuiConfigurationType getAdminGuiConfiguration()
-
setAdminGuiConfiguration
public void setAdminGuiConfiguration(AdminGuiConfigurationType value)
-
getDataProtection
public DataProtectionType getDataProtection()
-
setDataProtection
public void setDataProtection(DataProtectionType value)
-
getAutoassign
public AutoassignSpecificationType getAutoassign()
-
setAutoassign
public void setAutoassign(AutoassignSpecificationType value)
-
displayName
public AbstractRoleType displayName(PolyStringType value)
-
displayName
public AbstractRoleType displayName(String value)
-
beginDisplayName
public PolyStringType beginDisplayName()
-
identifier
public AbstractRoleType identifier(String value)
-
inducement
public AbstractRoleType inducement(AssignmentType value)
-
beginInducement
public AssignmentType beginInducement()
-
authorization
public AbstractRoleType authorization(AuthorizationType value)
-
beginAuthorization
public AuthorizationType beginAuthorization()
-
requestable
public AbstractRoleType requestable(Boolean value)
-
delegable
public AbstractRoleType delegable(Boolean value)
-
idempotence
public AbstractRoleType idempotence(IdempotenceType value)
-
riskLevel
public AbstractRoleType riskLevel(String value)
-
condition
public AbstractRoleType condition(MappingType value)
-
beginCondition
public MappingType beginCondition()
-
adminGuiConfiguration
public AbstractRoleType adminGuiConfiguration(AdminGuiConfigurationType value)
-
beginAdminGuiConfiguration
public AdminGuiConfigurationType beginAdminGuiConfiguration()
-
dataProtection
public AbstractRoleType dataProtection(DataProtectionType value)
-
beginDataProtection
public DataProtectionType beginDataProtection()
-
autoassign
public AbstractRoleType autoassign(AutoassignSpecificationType value)
-
beginAutoassign
public AutoassignSpecificationType beginAutoassign()
-
linkRef
public AbstractRoleType linkRef(ObjectReferenceType value)
-
linkRef
public AbstractRoleType linkRef(String oid, QName type)
-
linkRef
public AbstractRoleType linkRef(String oid, QName type, QName relation)
-
beginLinkRef
public ObjectReferenceType beginLinkRef()
- Overrides:
beginLinkRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(ObjectReferenceType value)
- Overrides:
personaRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type)
- Overrides:
personaRef
in classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type, QName relation)
- Overrides:
personaRef
in classFocusType
-
beginPersonaRef
public ObjectReferenceType beginPersonaRef()
- Overrides:
beginPersonaRef
in classFocusType
-
activation
public AbstractRoleType activation(ActivationType value)
- Overrides:
activation
in classFocusType
-
beginActivation
public ActivationType beginActivation()
- Overrides:
beginActivation
in classFocusType
-
jpegPhoto
public AbstractRoleType jpegPhoto(byte[] value)
-
costCenter
public AbstractRoleType costCenter(String value)
- Overrides:
costCenter
in classFocusType
-
locality
public AbstractRoleType locality(PolyStringType value)
-
locality
public AbstractRoleType locality(String value)
-
beginLocality
public PolyStringType beginLocality()
- Overrides:
beginLocality
in classFocusType
-
preferredLanguage
public AbstractRoleType preferredLanguage(String value)
- Overrides:
preferredLanguage
in classFocusType
-
locale
public AbstractRoleType locale(String value)
-
timezone
public AbstractRoleType timezone(String value)
-
emailAddress
public AbstractRoleType emailAddress(String value)
- Overrides:
emailAddress
in classFocusType
-
telephoneNumber
public AbstractRoleType telephoneNumber(String value)
- Overrides:
telephoneNumber
in classFocusType
-
credentials
public AbstractRoleType credentials(CredentialsType value)
- Overrides:
credentials
in classFocusType
-
beginCredentials
public CredentialsType beginCredentials()
- Overrides:
beginCredentials
in classFocusType
-
behavior
public AbstractRoleType behavior(BehaviorType value)
-
beginBehavior
public BehaviorType beginBehavior()
- Overrides:
beginBehavior
in classFocusType
-
assignment
public AbstractRoleType assignment(AssignmentType value)
- Overrides:
assignment
in classFocusType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignment
in classFocusType
-
iteration
public AbstractRoleType iteration(Integer value)
-
iterationToken
public AbstractRoleType iterationToken(String value)
- Overrides:
iterationToken
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRef
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type)
- Overrides:
archetypeRef
in classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRef
in classFocusType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRef
in classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRef
in classFocusType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type)
- Overrides:
delegatedRef
in classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRef
in classFocusType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRef
in classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRef
in classFocusType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRef
in classFocusType
-
name
public AbstractRoleType name(PolyStringType value)
-
name
public AbstractRoleType name(String value)
-
beginName
public PolyStringType beginName()
-
description
public AbstractRoleType description(String value)
- Overrides:
description
in classFocusType
-
documentation
public AbstractRoleType documentation(String value)
- Overrides:
documentation
in classFocusType
-
subtype
public AbstractRoleType subtype(String value)
-
fetchResult
public AbstractRoleType fetchResult(OperationResultType value)
- Overrides:
fetchResult
in classFocusType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResult
in classFocusType
-
extension
public AbstractRoleType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtension
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRef
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRef
in classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRef
in classFocusType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRef
in classFocusType
-
trigger
public AbstractRoleType trigger(TriggerType value)
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTrigger
in classFocusType
-
metadata
public AbstractRoleType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadata
in classFocusType
-
tenantRef
public AbstractRoleType tenantRef(ObjectReferenceType value)
-
tenantRef
public AbstractRoleType tenantRef(String oid, QName type)
-
tenantRef
public AbstractRoleType tenantRef(String oid, QName type, QName relation)
-
beginTenantRef
public ObjectReferenceType beginTenantRef()
- Overrides:
beginTenantRef
in classFocusType
-
lifecycleState
public AbstractRoleType lifecycleState(String value)
- Overrides:
lifecycleState
in classFocusType
-
operationExecution
public AbstractRoleType operationExecution(OperationExecutionType value)
- Overrides:
operationExecution
in classFocusType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecution
in classFocusType
-
lensContext
public AbstractRoleType lensContext(LensContextType value)
- Overrides:
lensContext
in classFocusType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContext
in classFocusType
-
policySituation
public AbstractRoleType policySituation(String value)
- Overrides:
policySituation
in classFocusType
-
triggeredPolicyRule
public AbstractRoleType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRule
in classFocusType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRule
in classFocusType
-
policyException
public AbstractRoleType policyException(PolicyExceptionType value)
- Overrides:
policyException
in classFocusType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyException
in classFocusType
-
diagnosticInformation
public AbstractRoleType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformation
in classFocusType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformation
in classFocusType
-
indestructible
public AbstractRoleType indestructible(Boolean value)
- Overrides:
indestructible
in classFocusType
-
oid
public AbstractRoleType oid(String value)
-
version
public AbstractRoleType version(String value)
-
clone
public AbstractRoleType clone()
-
-