Class | Description |
---|---|
AbstractBoolVoter<T> |
Used to create boolean voters which can't return integer values.
|
AbstractRequestHeaderPatternVoter |
Voters which match the request headers against a pattern.
|
AndVoting<T> |
Return the maximum vote but only if all voters voted positive.
|
AuthenticatedVoter |
Checks if the current user is authenticated.
|
BasePatternVoter |
Voters which uses the urls to match against the pattern.
|
BaseVoterImpl<T> |
Abstract voter.
|
BoolVoterSet<T> |
Voter combining a set of other voters based on a given logical operation.
|
DelegateVoter<T> | Deprecated
since 5.6.
|
DomainNameRegexVoter |
Checks if the request has domain that matches configured regex.
|
DontDispatchOnForwardAttributeVoter | Deprecated
since 4.4, use
WebContainerResourcesImpl instead |
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. |
FalseVoter |
Returns false.
|
ForwardVoter |
This voter returns true if the request has been forwarded.
|
IfVoter<T> |
Conditional voter.
|
InverseVoter<T> |
Inverses the returned value of the wrapped voter.
|
NotVoter<T> |
Does invert the boolean outcome of a voter.
|
OnAdminVoter |
Checks if the admin flag (config:/server/admin) is set.
|
OrVoting<T> |
Returns the first positive vote.
|
PropertyVoter |
Checks if the named Magnolia property has the expected value.
|
RequestExtensionVoter |
A voter which checks the extension set in the
AggregationState
object against a list of allowed and/or rejected extensions. |
RequestHasParametersVoter |
Checks if the request used the "POST" method or if there are request parameters.
|
RequestHeaderPatternRegexVoter |
A voter taking a plain regex pattern which has to matched against the specified request header.
|
RequestHeaderPatternSimpleVoter |
Checks if the specified request header matches a specific pattern.
|
RequestParametersVoter | Deprecated
since 5.5.3 in favor of
RequestParameterVoter . |
RequestParameterVoter |
Voter that checks for a specific GET and POST parameter and an optional value.
|
ResponseContentTypeVoter | Deprecated
since 5.3.13/5.4.4 use
RequestExtensionVoter instead. |
RoleBaseVoter |
Checks if the current user has access permissions by comparing user roles and configured roles.
|
SystemOrAdminUserVoter |
Checks if the current user is a system or admin user by checking the user's
Realm . |
TrueVoter |
Used to set a default not 0 outcome value.
|
URIPatternVoter |
Checks if URI matches the pattern.
|
URIRegexVoter |
A voter taking a plain regex pattern which has to matched against the current uri.
|
URIStartsWithVoter |
Checks if the URI starts with the given pattern.
|
UserAgentVoter |
A voter which checks the user agent header in
request
object against a list of allowed and/or rejected user agents. |
VoterSet<T> |
Can take a set of voters.
|
VoterSetTransformer |
Omit the voters child node.
|
Copyright © 2003–2018 Magnolia International Ltd.. All rights reserved.