public class VirtualAssignmentSpecificationType extends Object implements Serializable, Cloneable, Containerable
<?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: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"> There are cases when you need to force midpoint thinks that user has assigned some role. The assignemnt actually doesn't exist but there is a need to preted as it does. This can be used e.g. for post-authentication flow. The user has assigned all business, application, etc. roles but we don't want to consider these roles during his post-authentication proces. Instead, we want to pretend he has "temporary" role assigned which allows him to perform post-authentication. </p>
Java class for VirtualAssignmentSpecificationType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="VirtualAssignmentSpecificationType"> <complexContent> <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> <sequence> <element name="targetType" type="{http://www.w3.org/2001/XMLSchema}QName" minOccurs="0"/> <element name="filter" type="{http://prism.evolveum.com/xml/ns/public/query-3}SearchFilterType" minOccurs="0"/> </sequence> </restriction> </complexContent> </complexType>
Modifier and Type | Field and Description |
---|---|
static QName |
COMPLEX_TYPE |
static QName |
F_FILTER |
static QName |
F_TARGET_TYPE |
Constructor and Description |
---|
VirtualAssignmentSpecificationType() |
VirtualAssignmentSpecificationType(PrismContext prismContext) |
Modifier and Type | Method and Description |
---|---|
PrismContainerValue |
asPrismContainerValue() |
SearchFilterType |
beginFilter() |
VirtualAssignmentSpecificationType |
clone() |
<X> X |
end() |
boolean |
equals(Object object) |
VirtualAssignmentSpecificationType |
filter(SearchFilterType value) |
SearchFilterType |
getFilter() |
QName |
getTargetType() |
int |
hashCode() |
void |
setFilter(SearchFilterType value) |
void |
setTargetType(QName value) |
void |
setupContainerValue(PrismContainerValue containerValue)
Setup value to the containerable representation.
|
VirtualAssignmentSpecificationType |
targetType(QName value) |
String |
toString() |
public static final QName COMPLEX_TYPE
public static final QName F_TARGET_TYPE
public static final QName F_FILTER
public VirtualAssignmentSpecificationType()
public VirtualAssignmentSpecificationType(PrismContext prismContext)
public PrismContainerValue asPrismContainerValue()
asPrismContainerValue
in interface Containerable
public void setupContainerValue(PrismContainerValue containerValue)
Containerable
setupContainerValue
in interface Containerable
public <X> X end()
public QName getTargetType()
public void setTargetType(QName value)
public SearchFilterType getFilter()
public void setFilter(SearchFilterType value)
public VirtualAssignmentSpecificationType targetType(QName value)
public VirtualAssignmentSpecificationType filter(SearchFilterType value)
public SearchFilterType beginFilter()
public VirtualAssignmentSpecificationType clone()
Copyright © 2019 Evolveum. All rights reserved.