Class AuthorizationParameters<O extends ObjectType,T extends ObjectType>
java.lang.Object
com.evolveum.midpoint.security.enforcer.api.AuthorizationParameters<O,T>
- All Implemented Interfaces:
AbstractAuthorizationParameters,ShortDumpable
public class AuthorizationParameters<O extends ObjectType,T extends ObjectType>
extends Object
implements AbstractAuthorizationParameters
Object-related authorization parameters. The traditional ones.
- Author:
- semancik
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAuthorizationParameters.Builder<O extends ObjectType,T extends ObjectType> -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull AuthorizationParameters<ObjectType,ObjectType> empty()Just a convenience method.static <O extends ObjectType>
@NotNull AuthorizationParameters<O,ObjectType> forObject(O object) Just a convenience method.getDelta()getOdo()getValue()The value (for value-based params) or "any object" - for traditional params.booleanhasDelta()booleanIs the value fully known?voidShow the content of the object intended for diagnostics.toString()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.security.enforcer.api.AbstractAuthorizationParameters
hasValueMethods inherited from interface com.evolveum.midpoint.util.ShortDumpable
shortDump, shortDumpLazily
-
Field Details
-
EMPTY
-
-
Method Details
-
forObject
@NotNull public static <O extends ObjectType> @NotNull AuthorizationParameters<O,ObjectType> forObject(@Nullable O object) Just a convenience method. -
empty
Just a convenience method. -
getOdo
-
getOldObject
-
getNewObject
-
getValue
Description copied from interface:AbstractAuthorizationParametersThe value (for value-based params) or "any object" - for traditional params.- Specified by:
getValuein interfaceAbstractAuthorizationParameters
-
getAnyObject
-
getDelta
-
hasDelta
public boolean hasDelta() -
getTarget
-
getRelation
-
getOrderConstraints
-
isFullInformationAvailable
public boolean isFullInformationAvailable()Description copied from interface:AbstractAuthorizationParametersIs the value fully known? SeeSelectorClause.requiresFullInformation().- Specified by:
isFullInformationAvailablein interfaceAbstractAuthorizationParameters
-
toString
-
shortDump
Description copied from interface:ShortDumpableShow 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:
shortDumpin interfaceShortDumpable- Parameters:
sb- StringBuilder to which to a compact one-line content of the object intended for diagnostics by system administrator should be appended.
-