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: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: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: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>
Modifier and Type | Field and 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 |
F_ACTIVATION, F_COST_CENTER, F_EMAIL_ADDRESS, F_JPEG_PHOTO, F_LINK_REF, F_LOCALE, F_LOCALITY, F_PERSONA_REF, F_PREFERRED_LANGUAGE, F_TELEPHONE_NUMBER, F_TIMEZONE
F_ARCHETYPE_REF, F_ASSIGNMENT, F_DELEGATED_REF, F_ITERATION, F_ITERATION_TOKEN, F_ROLE_INFLUENCE_REF, F_ROLE_MEMBERSHIP_REF
F_DESCRIPTION, F_DIAGNOSTIC_INFORMATION, F_EXTENSION, F_FETCH_RESULT, 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
Constructor and Description |
---|
AbstractRoleType() |
AbstractRoleType(PrismContext prismContext) |
asPrismContainer, asPrismContainerValue, createLinkRefList, createPersonaRefList, equals, getActivation, getCostCenter, getEmailAddress, getJpegPhoto, getLinkRef, getLocale, getLocality, getPersonaRef, getPreferredLanguage, getTelephoneNumber, getTimezone, hashCode, setActivation, setCostCenter, setEmailAddress, setJpegPhoto, setLocale, setLocality, setPreferredLanguage, setTelephoneNumber, setTimezone, setupContainer, setupContainerValue, toDebugName, toDebugType, toString
createArchetypeRefList, createAssignmentList, createDelegatedRefList, createRoleInfluenceRefList, createRoleMembershipRefList, getArchetypeRef, getAssignment, getDelegatedRef, getIteration, getIterationToken, getRoleInfluenceRef, getRoleMembershipRef, setIteration, setIterationToken
createDiagnosticInformationList, createOperationExecutionList, createParentOrgRefList, createPolicyExceptionList, createPolicySituationList, createSubtypeList, createTriggeredPolicyRuleList, createTriggerList, getDescription, getDiagnosticInformation, getExtension, getFetchResult, getLensContext, getLifecycleState, getMetadata, getName, getOid, getOperationExecution, getParentOrgRef, getPolicyException, getPolicySituation, getSubtype, getTenantRef, getTrigger, getTriggeredPolicyRule, getVersion, setDescription, setExtension, setFetchResult, setLensContext, setLifecycleState, setMetadata, setName, setOid, setTenantRef, setVersion
accept
finalize, getClass, notify, notifyAll, wait, wait, wait
getDescription, getName, getOid, getVersion, setDescription, setName, setOid, setVersion
visitPrismStructure
public static final QName COMPLEX_TYPE
public static final ItemName F_DISPLAY_NAME
public static final ItemName F_IDENTIFIER
public static final ItemName F_INDUCEMENT
public static final ItemName F_AUTHORIZATION
public static final ItemName F_REQUESTABLE
public static final ItemName F_DELEGABLE
public static final ItemName F_IDEMPOTENCE
public static final ItemName F_RISK_LEVEL
public static final ItemName F_CONDITION
public static final ItemName F_ADMIN_GUI_CONFIGURATION
public static final ItemName F_DATA_PROTECTION
public static final ItemName F_AUTOASSIGN
public AbstractRoleType()
public AbstractRoleType(PrismContext prismContext)
public PrismObject<? extends AbstractRoleType> asPrismObject()
asPrismObject
in interface Objectable
asPrismObject
in class FocusType
public PolyStringType getDisplayName()
public void setDisplayName(PolyStringType value)
public String getIdentifier()
public void setIdentifier(String value)
public List<AssignmentType> getInducement()
public List<AssignmentType> createInducementList()
public List<AuthorizationType> getAuthorization()
public List<AuthorizationType> createAuthorizationList()
public Boolean isRequestable()
public void setRequestable(Boolean value)
public Boolean isDelegable()
public void setDelegable(Boolean value)
public IdempotenceType getIdempotence()
public void setIdempotence(IdempotenceType value)
public String getRiskLevel()
public void setRiskLevel(String value)
public MappingType getCondition()
public void setCondition(MappingType value)
public AdminGuiConfigurationType getAdminGuiConfiguration()
public void setAdminGuiConfiguration(AdminGuiConfigurationType value)
public DataProtectionType getDataProtection()
public void setDataProtection(DataProtectionType value)
public AutoassignSpecificationType getAutoassign()
public void setAutoassign(AutoassignSpecificationType value)
public AbstractRoleType displayName(PolyStringType value)
public AbstractRoleType displayName(String value)
public PolyStringType beginDisplayName()
public AbstractRoleType identifier(String value)
public AbstractRoleType inducement(AssignmentType value)
public AssignmentType beginInducement()
public AbstractRoleType authorization(AuthorizationType value)
public AuthorizationType beginAuthorization()
public AbstractRoleType requestable(Boolean value)
public AbstractRoleType delegable(Boolean value)
public AbstractRoleType idempotence(IdempotenceType value)
public AbstractRoleType riskLevel(String value)
public AbstractRoleType condition(MappingType value)
public MappingType beginCondition()
public AbstractRoleType adminGuiConfiguration(AdminGuiConfigurationType value)
public AdminGuiConfigurationType beginAdminGuiConfiguration()
public AbstractRoleType dataProtection(DataProtectionType value)
public DataProtectionType beginDataProtection()
public AbstractRoleType autoassign(AutoassignSpecificationType value)
public AutoassignSpecificationType beginAutoassign()
public AbstractRoleType linkRef(ObjectReferenceType value)
public AbstractRoleType linkRef(String oid, QName type)
public AbstractRoleType linkRef(String oid, QName type, QName relation)
public ObjectReferenceType beginLinkRef()
beginLinkRef
in class FocusType
public AbstractRoleType personaRef(ObjectReferenceType value)
personaRef
in class FocusType
public AbstractRoleType personaRef(String oid, QName type)
personaRef
in class FocusType
public AbstractRoleType personaRef(String oid, QName type, QName relation)
personaRef
in class FocusType
public ObjectReferenceType beginPersonaRef()
beginPersonaRef
in class FocusType
public AbstractRoleType activation(ActivationType value)
activation
in class FocusType
public ActivationType beginActivation()
beginActivation
in class FocusType
public AbstractRoleType jpegPhoto(byte[] value)
public AbstractRoleType costCenter(String value)
costCenter
in class FocusType
public AbstractRoleType locality(PolyStringType value)
public AbstractRoleType locality(String value)
public PolyStringType beginLocality()
beginLocality
in class FocusType
public AbstractRoleType preferredLanguage(String value)
preferredLanguage
in class FocusType
public AbstractRoleType locale(String value)
public AbstractRoleType timezone(String value)
public AbstractRoleType emailAddress(String value)
emailAddress
in class FocusType
public AbstractRoleType telephoneNumber(String value)
telephoneNumber
in class FocusType
public AbstractRoleType assignment(AssignmentType value)
assignment
in class FocusType
public AssignmentType beginAssignment()
beginAssignment
in class FocusType
public AbstractRoleType iteration(Integer value)
public AbstractRoleType iterationToken(String value)
iterationToken
in class FocusType
public AbstractRoleType archetypeRef(ObjectReferenceType value)
archetypeRef
in class FocusType
public AbstractRoleType archetypeRef(String oid, QName type)
archetypeRef
in class FocusType
public AbstractRoleType archetypeRef(String oid, QName type, QName relation)
archetypeRef
in class FocusType
public ObjectReferenceType beginArchetypeRef()
beginArchetypeRef
in class FocusType
public AbstractRoleType roleMembershipRef(ObjectReferenceType value)
roleMembershipRef
in class FocusType
public AbstractRoleType roleMembershipRef(String oid, QName type)
roleMembershipRef
in class FocusType
public AbstractRoleType roleMembershipRef(String oid, QName type, QName relation)
roleMembershipRef
in class FocusType
public ObjectReferenceType beginRoleMembershipRef()
beginRoleMembershipRef
in class FocusType
public AbstractRoleType delegatedRef(ObjectReferenceType value)
delegatedRef
in class FocusType
public AbstractRoleType delegatedRef(String oid, QName type)
delegatedRef
in class FocusType
public AbstractRoleType delegatedRef(String oid, QName type, QName relation)
delegatedRef
in class FocusType
public ObjectReferenceType beginDelegatedRef()
beginDelegatedRef
in class FocusType
public AbstractRoleType roleInfluenceRef(ObjectReferenceType value)
roleInfluenceRef
in class FocusType
public AbstractRoleType roleInfluenceRef(String oid, QName type)
roleInfluenceRef
in class FocusType
public AbstractRoleType roleInfluenceRef(String oid, QName type, QName relation)
roleInfluenceRef
in class FocusType
public ObjectReferenceType beginRoleInfluenceRef()
beginRoleInfluenceRef
in class FocusType
public AbstractRoleType name(PolyStringType value)
public AbstractRoleType name(String value)
public PolyStringType beginName()
public AbstractRoleType description(String value)
description
in class FocusType
public AbstractRoleType subtype(String value)
public AbstractRoleType fetchResult(OperationResultType value)
fetchResult
in class FocusType
public OperationResultType beginFetchResult()
beginFetchResult
in class FocusType
public AbstractRoleType extension(ExtensionType value)
public ExtensionType beginExtension()
beginExtension
in class FocusType
public AbstractRoleType parentOrgRef(ObjectReferenceType value)
parentOrgRef
in class FocusType
public AbstractRoleType parentOrgRef(String oid, QName type)
parentOrgRef
in class FocusType
public AbstractRoleType parentOrgRef(String oid, QName type, QName relation)
parentOrgRef
in class FocusType
public ObjectReferenceType beginParentOrgRef()
beginParentOrgRef
in class FocusType
public AbstractRoleType trigger(TriggerType value)
public TriggerType beginTrigger()
beginTrigger
in class FocusType
public AbstractRoleType metadata(MetadataType value)
public MetadataType beginMetadata()
beginMetadata
in class FocusType
public AbstractRoleType tenantRef(ObjectReferenceType value)
public AbstractRoleType tenantRef(String oid, QName type)
public AbstractRoleType tenantRef(String oid, QName type, QName relation)
public ObjectReferenceType beginTenantRef()
beginTenantRef
in class FocusType
public AbstractRoleType lifecycleState(String value)
lifecycleState
in class FocusType
public AbstractRoleType operationExecution(OperationExecutionType value)
operationExecution
in class FocusType
public OperationExecutionType beginOperationExecution()
beginOperationExecution
in class FocusType
public AbstractRoleType lensContext(LensContextType value)
lensContext
in class FocusType
public LensContextType beginLensContext()
beginLensContext
in class FocusType
public AbstractRoleType policySituation(String value)
policySituation
in class FocusType
public AbstractRoleType triggeredPolicyRule(EvaluatedPolicyRuleType value)
triggeredPolicyRule
in class FocusType
public EvaluatedPolicyRuleType beginTriggeredPolicyRule()
beginTriggeredPolicyRule
in class FocusType
public AbstractRoleType policyException(PolicyExceptionType value)
policyException
in class FocusType
public PolicyExceptionType beginPolicyException()
beginPolicyException
in class FocusType
public AbstractRoleType diagnosticInformation(DiagnosticInformationType value)
diagnosticInformation
in class FocusType
public DiagnosticInformationType beginDiagnosticInformation()
beginDiagnosticInformation
in class FocusType
public AbstractRoleType oid(String value)
public AbstractRoleType version(String value)
public AbstractRoleType clone()
Copyright © 2021 Evolveum. All rights reserved.