Interface ResolvedMount

    • Method Detail

      • getPortNumber

        int getPortNumber()
        Returns:
        the port number of the host that was used during matching to this ResolvedMount
      • getNamedPipeline

        String getNamedPipeline()
        Returns:
        the named pipeline to be used for this Mount or null when the default pipeline is to be used
      • getResolvedMountPath

        String getResolvedMountPath()
        Returns the mountPath from the backing Mount where possible wildcard values might have been replaced. A root Mount returns an empty String (""). When the mountPath is non-empty, it always starts with a "/".
        Returns:
        the resolved mountPath for this ResolvedMount
        See Also:
        Mount.getMountPath()
      • getMatchingIgnoredPrefix

        String getMatchingIgnoredPrefix()
        Expert: In most circumstance, this getMatchingIgnoredPrefix() will return null. Only when there was a pathInfo prefix after the HttpServletRequest.getContextPath() that should be ignored during matching the request to a ResolvedMount, this method returns the ignored prefix. The returned String must have leading and trailing slashes all removed.
        Returns:
        the prefix that was ignore during matching and null if there wasn't a ignored prefix
      • isAuthenticated

        boolean isAuthenticated()
        If this method returns true, then only if the user is explicitly allowed or servletRequest.isUserInRole(role) returns true this Mount is accessible for the request. If a Mount does not have a configuration for authenticated, the value from the parent item is taken.
        Returns:
        true if the Mount is authenticated.
      • getRoles

        Set<String> getRoles()
        Returns the roles that are allowed to access this Mount when isAuthenticated() is true. If the Mount does not have any roles defined by itself, it inherits them from the parent. If it defines roles, the roles from any ancestor are ignored. An empty set of roles in combination with isAuthenticated() return true means nobody has access to the item
        Returns:
        The set of roles that are allowed to access this Mount. When no roles defined, the roles from the parent item are inherited. If none of the parent items have a role defined, an empty set is returned
      • getUsers

        Set<String> getUsers()
        Returns the users that are allowed to access this Mount when isAuthenticated() is true. If the Mount does not have any users defined by itself, it inherits them from the parent. If it defines users, the users from any ancestor are ignored. An empty set of users in combination with isAuthenticated() return true means nobody has access to the item
        Returns:
        The set of users that are allowed to access this Mount. When no users defined, the users from the parent item are inherited. If none of the parent items have a user defined, an empty set is returned
      • isSubjectBasedSession

        boolean isSubjectBasedSession()
        Returns true if subject based jcr session should be used for this Mount
        Returns:
        true if subject based jcr session should be used for this Mount
      • isSessionStateful

        boolean isSessionStateful()
        Returns true if subject based jcr session should be statefully managed.
        Returns:
        true if subject based jcr session should be statefully managed.
      • getFormLoginPage

        String getFormLoginPage()
        Returns FORM Login Page
        Returns:
        true if the Mount is authenticated.