org.mmbase.security
Class Authorization.QueryCheck
java.lang.Object
org.mmbase.security.Authorization.QueryCheck
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- Authorization
public static class Authorization.QueryCheck
- extends Object
- implements Serializable
Defines the result of a security check on a query. Such a result has two members: A
'Constraint' which has to be added to the query and a boolean which sais if the query (with
the given Constraint) has now been fully checked and that it's result does not need further
postprocessing.
- Since:
- MMBase-1.7
- See Also:
- Serialized Form
constraint
final Constraint constraint
check
final boolean check
Authorization.QueryCheck
public Authorization.QueryCheck(boolean ch,
Constraint co)
isChecked
public boolean isChecked()
- Whether the contained result completely checks for security.
getConstraint
public Constraint getConstraint()
- The stored constraint. This can be null if no constraint was needed (if checked), or no helpfull
constraint could be constructed (if not checked).
toString
public String toString()
-
Used for debugging.
- Overrides:
toString in class Object
- Since:
- MMBase-1.8
MMBase 2.0-SNAPSHOT - null