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
Modifier and TypeClassDescriptionstatic class
AuthorizationParameters.Builder<O extends ObjectType,
T extends ObjectType> -
Field Summary
-
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.boolean
hasDelta()
boolean
Is the value fully known?void
Show 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, wait
Methods inherited from interface com.evolveum.midpoint.security.enforcer.api.AbstractAuthorizationParameters
hasValue
Methods 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:AbstractAuthorizationParameters
The value (for value-based params) or "any object" - for traditional params.- Specified by:
getValue
in interfaceAbstractAuthorizationParameters
-
getAnyObject
-
getDelta
-
hasDelta
public boolean hasDelta() -
getTarget
-
getRelation
-
getOrderConstraints
-
isFullInformationAvailable
public boolean isFullInformationAvailable()Description copied from interface:AbstractAuthorizationParameters
Is the value fully known? SeeSelectorClause.requiresFullInformation()
.- Specified by:
isFullInformationAvailable
in interfaceAbstractAuthorizationParameters
-
toString
-
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.
-