Class InterceptorRule

  • All Implemented Interfaces:
    java.io.Serializable

    @Entity
    public class InterceptorRule
    extends PersistentObject
    The model representing the rules for the GeoServer Interceptor class.

    A rule is following the schema:

    ...=

    The rules will be evaluated for every request where we determine the most specific rule to apply.

    Allowed values for the rule are ALLOW, DENY, MODIFY. Allowed values for the event are REQUEST and RESPONSE.

    Author:
    Daniel Koch, Kai Volland, terrestris GmbH & Co. KG
    See Also:
    Serialized Form
    • Method Detail

      • setEvent

        public void setEvent​(HttpEnum.EventType event)
        Parameters:
        event - the event to set
      • setService

        public void setService​(OgcEnum.ServiceType service)
        Parameters:
        service - the service to set
      • setOperation

        public void setOperation​(OgcEnum.OperationType operation)
        Parameters:
        operation - the operation to set
      • getEndPoint

        public java.lang.String getEndPoint()
        Returns:
        the endPoint
      • setEndPoint

        public void setEndPoint​(java.lang.String endPoint)
        Parameters:
        endPoint - the endPoint to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class PersistentObject
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class PersistentObject
        See Also:
        According to http://stackoverflow.com/questions/27581/overriding-equals -and-hashcode-in-java it is recommended only to use getter-methods when using ORM like Hibernate