Class VirtualAssignmentSpecificationType
- java.lang.Object
-
- com.evolveum.midpoint.xml.ns._public.common.common_3.VirtualAssignmentSpecificationType
-
- All Implemented Interfaces:
Containerable,DebugDumpable,Serializable,Cloneable
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 assignment actually doesn't exist but there is a need to pretend 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 process. 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>- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static QNameCOMPLEX_TYPEstatic ItemNameF_FILTERstatic ItemNameF_TARGET_TYPE-
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING
-
-
Constructor Summary
Constructors Constructor Description VirtualAssignmentSpecificationType()VirtualAssignmentSpecificationType(PrismContext prismContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrismContainerValueasPrismContainerValue()SearchFilterTypebeginFilter()VirtualAssignmentSpecificationTypeclone()<X> Xend()booleanequals(Object object)VirtualAssignmentSpecificationTypefilter(SearchFilterType value)SearchFilterTypegetFilter()QNamegetTargetType()inthashCode()voidsetFilter(SearchFilterType value)voidsetTargetType(QName value)voidsetupContainerValue(PrismContainerValue containerValue)Setup value to the containerable representation.VirtualAssignmentSpecificationTypetargetType(QName value)StringtoString()-
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
-
-
-
-
Constructor Detail
-
VirtualAssignmentSpecificationType
public VirtualAssignmentSpecificationType()
-
VirtualAssignmentSpecificationType
public VirtualAssignmentSpecificationType(PrismContext prismContext)
-
-
Method Detail
-
asPrismContainerValue
public PrismContainerValue asPrismContainerValue()
- Specified by:
asPrismContainerValuein interfaceContainerable
-
setupContainerValue
public void setupContainerValue(PrismContainerValue containerValue)
Description copied from interface:ContainerableSetup value to the containerable representation. This is used to after (empty) containerable is created to initialize it with a correct prism container value. Note: This method DOES NOT change the container value parent.- Specified by:
setupContainerValuein interfaceContainerable
-
end
public <X> X end()
-
getTargetType
public QName getTargetType()
-
setTargetType
public void setTargetType(QName value)
-
getFilter
public SearchFilterType getFilter()
-
setFilter
public void setFilter(SearchFilterType value)
-
targetType
public VirtualAssignmentSpecificationType targetType(QName value)
-
filter
public VirtualAssignmentSpecificationType filter(SearchFilterType value)
-
beginFilter
public SearchFilterType beginFilter()
-
clone
public VirtualAssignmentSpecificationType clone()
-
-