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 QNameCOMPLEX_TYPEstatic ItemNameF_ADMIN_GUI_CONFIGURATIONstatic ItemNameF_AUTHORIZATIONstatic ItemNameF_AUTOASSIGNstatic ItemNameF_CONDITIONstatic ItemNameF_DATA_PROTECTIONstatic ItemNameF_DELEGABLEstatic ItemNameF_DISPLAY_NAMEstatic ItemNameF_IDEMPOTENCEstatic ItemNameF_IDENTIFIERstatic ItemNameF_INDUCEMENTstatic ItemNameF_REQUESTABLEstatic ItemNameF_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:
asPrismObjectin interfaceObjectable- Overrides:
asPrismObjectin 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:
beginLinkRefin classFocusType
-
personaRef
public AbstractRoleType personaRef(ObjectReferenceType value)
- Overrides:
personaRefin classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type)
- Overrides:
personaRefin classFocusType
-
personaRef
public AbstractRoleType personaRef(String oid, QName type, QName relation)
- Overrides:
personaRefin classFocusType
-
beginPersonaRef
public ObjectReferenceType beginPersonaRef()
- Overrides:
beginPersonaRefin classFocusType
-
activation
public AbstractRoleType activation(ActivationType value)
- Overrides:
activationin classFocusType
-
beginActivation
public ActivationType beginActivation()
- Overrides:
beginActivationin classFocusType
-
jpegPhoto
public AbstractRoleType jpegPhoto(byte[] value)
-
costCenter
public AbstractRoleType costCenter(String value)
- Overrides:
costCenterin classFocusType
-
locality
public AbstractRoleType locality(PolyStringType value)
-
locality
public AbstractRoleType locality(String value)
-
beginLocality
public PolyStringType beginLocality()
- Overrides:
beginLocalityin classFocusType
-
preferredLanguage
public AbstractRoleType preferredLanguage(String value)
- Overrides:
preferredLanguagein classFocusType
-
locale
public AbstractRoleType locale(String value)
-
timezone
public AbstractRoleType timezone(String value)
-
emailAddress
public AbstractRoleType emailAddress(String value)
- Overrides:
emailAddressin classFocusType
-
telephoneNumber
public AbstractRoleType telephoneNumber(String value)
- Overrides:
telephoneNumberin classFocusType
-
credentials
public AbstractRoleType credentials(CredentialsType value)
- Overrides:
credentialsin classFocusType
-
beginCredentials
public CredentialsType beginCredentials()
- Overrides:
beginCredentialsin classFocusType
-
behavior
public AbstractRoleType behavior(BehaviorType value)
-
beginBehavior
public BehaviorType beginBehavior()
- Overrides:
beginBehaviorin classFocusType
-
assignment
public AbstractRoleType assignment(AssignmentType value)
- Overrides:
assignmentin classFocusType
-
beginAssignment
public AssignmentType beginAssignment()
- Overrides:
beginAssignmentin classFocusType
-
iteration
public AbstractRoleType iteration(Integer value)
-
iterationToken
public AbstractRoleType iterationToken(String value)
- Overrides:
iterationTokenin classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(ObjectReferenceType value)
- Overrides:
archetypeRefin classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type)
- Overrides:
archetypeRefin classFocusType
-
archetypeRef
public AbstractRoleType archetypeRef(String oid, QName type, QName relation)
- Overrides:
archetypeRefin classFocusType
-
beginArchetypeRef
public ObjectReferenceType beginArchetypeRef()
- Overrides:
beginArchetypeRefin classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(ObjectReferenceType value)
- Overrides:
roleMembershipRefin classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type)
- Overrides:
roleMembershipRefin classFocusType
-
roleMembershipRef
public AbstractRoleType roleMembershipRef(String oid, QName type, QName relation)
- Overrides:
roleMembershipRefin classFocusType
-
beginRoleMembershipRef
public ObjectReferenceType beginRoleMembershipRef()
- Overrides:
beginRoleMembershipRefin classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(ObjectReferenceType value)
- Overrides:
delegatedRefin classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type)
- Overrides:
delegatedRefin classFocusType
-
delegatedRef
public AbstractRoleType delegatedRef(String oid, QName type, QName relation)
- Overrides:
delegatedRefin classFocusType
-
beginDelegatedRef
public ObjectReferenceType beginDelegatedRef()
- Overrides:
beginDelegatedRefin classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(ObjectReferenceType value)
- Overrides:
roleInfluenceRefin classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type)
- Overrides:
roleInfluenceRefin classFocusType
-
roleInfluenceRef
public AbstractRoleType roleInfluenceRef(String oid, QName type, QName relation)
- Overrides:
roleInfluenceRefin classFocusType
-
beginRoleInfluenceRef
public ObjectReferenceType beginRoleInfluenceRef()
- Overrides:
beginRoleInfluenceRefin classFocusType
-
name
public AbstractRoleType name(PolyStringType value)
-
name
public AbstractRoleType name(String value)
-
beginName
public PolyStringType beginName()
-
description
public AbstractRoleType description(String value)
- Overrides:
descriptionin classFocusType
-
documentation
public AbstractRoleType documentation(String value)
- Overrides:
documentationin classFocusType
-
subtype
public AbstractRoleType subtype(String value)
-
fetchResult
public AbstractRoleType fetchResult(OperationResultType value)
- Overrides:
fetchResultin classFocusType
-
beginFetchResult
public OperationResultType beginFetchResult()
- Overrides:
beginFetchResultin classFocusType
-
extension
public AbstractRoleType extension(ExtensionType value)
-
beginExtension
public ExtensionType beginExtension()
- Overrides:
beginExtensionin classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(ObjectReferenceType value)
- Overrides:
parentOrgRefin classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type)
- Overrides:
parentOrgRefin classFocusType
-
parentOrgRef
public AbstractRoleType parentOrgRef(String oid, QName type, QName relation)
- Overrides:
parentOrgRefin classFocusType
-
beginParentOrgRef
public ObjectReferenceType beginParentOrgRef()
- Overrides:
beginParentOrgRefin classFocusType
-
trigger
public AbstractRoleType trigger(TriggerType value)
-
beginTrigger
public TriggerType beginTrigger()
- Overrides:
beginTriggerin classFocusType
-
metadata
public AbstractRoleType metadata(MetadataType value)
-
beginMetadata
public MetadataType beginMetadata()
- Overrides:
beginMetadatain 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:
beginTenantRefin classFocusType
-
lifecycleState
public AbstractRoleType lifecycleState(String value)
- Overrides:
lifecycleStatein classFocusType
-
operationExecution
public AbstractRoleType operationExecution(OperationExecutionType value)
- Overrides:
operationExecutionin classFocusType
-
beginOperationExecution
public OperationExecutionType beginOperationExecution()
- Overrides:
beginOperationExecutionin classFocusType
-
lensContext
public AbstractRoleType lensContext(LensContextType value)
- Overrides:
lensContextin classFocusType
-
beginLensContext
public LensContextType beginLensContext()
- Overrides:
beginLensContextin classFocusType
-
policySituation
public AbstractRoleType policySituation(String value)
- Overrides:
policySituationin classFocusType
-
triggeredPolicyRule
public AbstractRoleType triggeredPolicyRule(EvaluatedPolicyRuleType value)
- Overrides:
triggeredPolicyRulein classFocusType
-
beginTriggeredPolicyRule
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
- Overrides:
beginTriggeredPolicyRulein classFocusType
-
policyException
public AbstractRoleType policyException(PolicyExceptionType value)
- Overrides:
policyExceptionin classFocusType
-
beginPolicyException
public PolicyExceptionType beginPolicyException()
- Overrides:
beginPolicyExceptionin classFocusType
-
diagnosticInformation
public AbstractRoleType diagnosticInformation(DiagnosticInformationType value)
- Overrides:
diagnosticInformationin classFocusType
-
beginDiagnosticInformation
public DiagnosticInformationType beginDiagnosticInformation()
- Overrides:
beginDiagnosticInformationin classFocusType
-
indestructible
public AbstractRoleType indestructible(Boolean value)
- Overrides:
indestructiblein classFocusType
-
oid
public AbstractRoleType oid(String value)
-
version
public AbstractRoleType version(String value)
-
clone
public AbstractRoleType clone()
-
-