Class ValueAuthorizationParameters<V extends PrismValue>
java.lang.Object
com.evolveum.midpoint.security.enforcer.api.ValueAuthorizationParameters<V>
- All Implemented Interfaces:
AbstractAuthorizationParameters
,ShortDumpable
public class ValueAuthorizationParameters<V extends PrismValue>
extends Object
implements AbstractAuthorizationParameters
Authorization parameters for sub-object operations.
Temporary/experimental.
-
Method Summary
Modifier and TypeMethodDescriptiongetValue()
The value (for value-based params) or "any object" - for traditional params.boolean
Is the value fully known? SeeSelectorClause.requiresFullInformation()
.static <C extends Containerable>
ValueAuthorizationParameters<PrismContainerValue<C>>of
(C c) void
Show the content of the object intended for diagnostics.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.evolveum.midpoint.security.enforcer.api.AbstractAuthorizationParameters
hasValue
Methods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Method Details
-
of
public static <C extends Containerable> ValueAuthorizationParameters<PrismContainerValue<C>> of(@Nullable C c) -
getValue
Description copied from interface:AbstractAuthorizationParameters
The value (for value-based params) or "any object" - for traditional params.- Specified by:
getValue
in interfaceAbstractAuthorizationParameters
-
isFullInformationAvailable
public boolean isFullInformationAvailable()Description copied from interface:AbstractAuthorizationParameters
Is the value fully known? SeeSelectorClause.requiresFullInformation()
.- Specified by:
isFullInformationAvailable
in interfaceAbstractAuthorizationParameters
-
shortDump
Description copied from interface:ShortDumpable
Show the content of the object intended for diagnostics. This method is supposed to append a compact, human-readable output in a single line. Unlike toString() method, there is no requirement to identify the actual class or type of the object. It is assumed that the class/type will be obvious from the context in which the output is used.- Specified by:
shortDump
in interfaceShortDumpable
- Parameters:
sb
- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-