Package | Description |
---|---|
info.magnolia.cms.exchange | |
info.magnolia.cms.filters | |
info.magnolia.cms.security.auth.callback |
JAAS and Client callbacks
|
info.magnolia.cms.security.operations | |
info.magnolia.voting | |
info.magnolia.voting.voters |
Modifier and Type | Interface and Description |
---|---|
interface |
Subscription
Deprecated.
since 5.6 use info.magnolia.publishing.definition.WorkspaceDefinition instead.
|
Modifier and Type | Method and Description |
---|---|
Voter[] |
AbstractMgnlFilter.getBypasses() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractMgnlFilter.addBypass(Voter voter) |
void |
AbstractMgnlFilter.setBypasses(Voter[] bypasses) |
Modifier and Type | Method and Description |
---|---|
Voter |
AbstractHttpClientCallback.getVoters() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractHttpClientCallback.setVoters(Voter voters) |
Modifier and Type | Method and Description |
---|---|
List<Voter> |
VoterBasedConfiguredAccessDefinition.getVoters() |
Modifier and Type | Method and Description |
---|---|
void |
VoterBasedConfiguredAccessDefinition.addVoter(Voter voter) |
Modifier and Type | Method and Description |
---|---|
void |
VoterBasedConfiguredAccessDefinition.setVoters(List<Voter> voters) |
Modifier and Type | Method and Description |
---|---|
int |
DefaultVoting.vote(Voter<T>[] voters,
T value) |
int |
Voting.vote(Voter<T>[] voters,
T value) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractBoolVoter<T>
Used to create boolean voters which can't return integer values.
|
class |
AbstractRequestHeaderPatternVoter
Voters which match the request headers against a pattern.
|
class |
AuthenticatedVoter
Checks if the current user is authenticated.
|
class |
BasePatternVoter
Voters which uses the urls to match against the pattern.
|
class |
BaseVoterImpl<T>
Abstract voter.
|
class |
BoolVoterSet<T>
Voter combining a set of other voters based on a given logical operation.
|
class |
DelegateVoter<T>
Deprecated.
since 5.6. Not used/needed.
|
class |
DomainNameRegexVoter
Checks if the request has domain that matches configured regex.
|
class |
DontDispatchOnForwardAttributeVoter
Deprecated.
since 4.4, use
WebContainerResourcesImpl instead |
class |
ExtensionVoter
Parameters (as Magnolia's configuration nodes):
allow: comma separated lists of allowed extensions.
deny: comma separated lists of denied extensions.
Returns:
false if the extension is not a valid mimetype (as configured in config:/server/MIMEMapping.
false if the allow list exists, but the extension is not in the allow list.
false if the deny list exists and the extension is in the deny list.
true in all other cases.
Typed to Object, as it can vote on both a passed String,
or the current MgnlContext.webContext if any. |
class |
FalseVoter
Returns false.
|
class |
ForwardVoter
This voter returns true if the request has been forwarded.
|
class |
IfVoter<T>
Conditional voter.
|
class |
InverseVoter<T>
Inverses the returned value of the wrapped voter.
|
class |
NotVoter<T>
Does invert the boolean outcome of a voter.
|
class |
OnAdminVoter
Checks if the admin flag (config:/server/admin) is set.
|
class |
PropertyVoter
Checks if the named Magnolia property has the expected value.
|
class |
RequestExtensionVoter
A voter which checks the extension set in the
AggregationState
object against a list of allowed and/or rejected extensions. |
class |
RequestHasParametersVoter
Checks if the request used the "POST" method or if there are request parameters.
|
class |
RequestHeaderPatternRegexVoter
A voter taking a plain regex pattern which has to matched against the specified request header.
|
class |
RequestHeaderPatternSimpleVoter
Checks if the specified request header matches a specific pattern.
|
class |
RequestParametersVoter
Deprecated.
since 5.5.3 in favor of
RequestParameterVoter . |
class |
RequestParameterVoter
Voter that checks for a specific GET and POST parameter and an optional value.
|
class |
ResponseContentTypeVoter
Deprecated.
since 5.3.13/5.4.4 use
RequestExtensionVoter instead.
Because the real Content-Type is not known at the execution time, it was
only guessed from the extension in ContentTypeFilter. |
class |
RoleBaseVoter
Checks if the current user has access permissions by comparing user roles and configured roles.
|
class |
SystemOrAdminUserVoter
Checks if the current user is a system or admin user by checking the user's
Realm . |
class |
TrueVoter
Used to set a default not 0 outcome value.
|
class |
URIPatternVoter
Checks if URI matches the pattern.
|
class |
URIRegexVoter
A voter taking a plain regex pattern which has to matched against the current uri.
|
class |
URIStartsWithVoter
Checks if the URI starts with the given pattern.
|
class |
UserAgentVoter
A voter which checks the user agent header in
request
object against a list of allowed and/or rejected user agents. |
class |
VoterSet<T>
Can take a set of voters.
|
Modifier and Type | Method and Description |
---|---|
Voter<T> |
IfVoter.getCondition() |
Voter<T> |
IfVoter.getOtherwise() |
Voter<T> |
IfVoter.getThen() |
Voter<T> |
InverseVoter.getVoter() |
Voter<T>[] |
BoolVoterSet.getVoters() |
Voter<T>[] |
VoterSet.getVoters() |
Modifier and Type | Method and Description |
---|---|
void |
VoterSet.addVoter(Voter<T> voter) |
void |
IfVoter.setCondition(Voter<T> condition) |
void |
IfVoter.setOtherwise(Voter<T> otherwise) |
void |
IfVoter.setThen(Voter<T> then) |
void |
InverseVoter.setVoter(Voter<T> vote) |
void |
BoolVoterSet.setVoters(Voter<T>[] voters) |
void |
VoterSet.setVoters(Voter<T>[] voters) |
int |
AndVoting.vote(Voter<T>[] voters,
T value) |
int |
OrVoting.vote(Voter<T>[] voters,
T value) |
Constructor and Description |
---|
BoolVoterSet(Voter<T>... voters) |
Copyright © 2003–2019 Magnolia International Ltd.. All rights reserved.