Class Authorization
java.lang.Object
com.evolveum.midpoint.security.api.Authorization
- All Implemented Interfaces:
DebugDumpable,Serializable,org.springframework.security.core.GrantedAuthority
public class Authorization
extends Object
implements org.springframework.security.core.GrantedAuthority, DebugDumpable
Parsed form of
AuthorizationType.- Author:
- semancik
- See Also:
-
Field Summary
Fields inherited from interface com.evolveum.midpoint.util.DebugDumpable
INDENT_STRING -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()static Authorizationcreate(@NotNull AuthorizationType authorizationBean, String sourceDescription) debugDump(int indent) boolean@NotNull AuthorizationDecisionType@NotNull List<ItemPathType>@NotNull PathSet@NotNull List<ItemPathType>getItem()@NotNull PathSetgetItems()@NotNull List<ValueSelector>@NotNull List<ValueSelector>@Nullable AuthorizationPhaseTypegetPhase()inthashCode()booleanbooleanisAllow()booleanisDeny()booleanbooleanbooleanmatchesAnyAction(@NotNull List<String> actionUrls) booleanmatchesPhase(@Nullable AuthorizationPhaseType phase) booleanvoidsetSourceDescription(String sourceDescription) toString()Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.evolveum.midpoint.util.DebugDumpable
debugDump, debugDumpLazily, debugDumpLazily
-
Constructor Details
-
Authorization
-
-
Method Details
-
create
public static Authorization create(@NotNull @NotNull AuthorizationType authorizationBean, String sourceDescription) -
getAuthority
- Specified by:
getAuthorityin interfaceorg.springframework.security.core.GrantedAuthority
-
getDescription
-
getSourceDescription
-
setSourceDescription
-
getDecision
-
isAllow
public boolean isAllow() -
isDeny
public boolean isDeny() -
getAction
-
getPhase
-
matchesPhase
-
matchesAnyAction
-
getEnforcementStrategy
-
maySkipOnSearch
public boolean maySkipOnSearch() -
keepZoneOfControl
public boolean keepZoneOfControl() -
getParsedObjectSelectors
@NotNull public @NotNull List<ValueSelector> getParsedObjectSelectors() throws ConfigurationException- Throws:
ConfigurationException
-
getParsedTargetSelectors
@NotNull public @NotNull List<ValueSelector> getParsedTargetSelectors() throws ConfigurationException- Throws:
ConfigurationException
-
getItem
-
getExceptItem
-
getItems
-
getExceptItems
-
hasItemSpecification
public boolean hasItemSpecification() -
getRelation
-
getOrderConstraints
-
getLimitations
-
clone
-
getHumanReadableDesc
-
debugDump
- Specified by:
debugDumpin interfaceDebugDumpable
-
toString
-
isExceptMetadata
public boolean isExceptMetadata() -
equals
-
hashCode
public int hashCode()
-