/** * <p>Creates a configuration for the given <code>path</code> based on a previously configured path group.</p> * * @param path The path. It should always begin with a slash. Some examples of path are: /rest, /rest/*, /*.jsf. * @param groupName The group name. It must be a valid name referencing a path group defined using the {@link org.picketlink.config.http.AbstractHttpSecurityBuilder#forGroup(String)}. * @return */ public PathConfigurationBuilder forPath(String path, String groupName) { return pathGroup(groupName, path); }
/** * <p>Creates a configuration for a specific path.</p> * * @return */ public PathConfigurationBuilder allPaths() { return pathGroup(PathConfiguration.DEFAULT_GROUP_NAME, PathConfiguration.URI_ALL); }
/** * <p>Creates a configuration for a specific path.</p> * * @return */ public PathConfigurationBuilder allPaths() { return pathGroup(PathConfiguration.DEFAULT_GROUP_NAME, PathConfiguration.URI_ALL); }
/** * <p>Creates a configuration for a specific path.</p> * * @return */ public PathConfigurationBuilder allPaths() { return pathGroup(PathConfiguration.DEFAULT_GROUP_NAME, PathConfiguration.URI_ALL); }
/** * <p>Creates a configuration for a group of paths.</p> * * @param groupName The name of the path group. * @return */ public PathConfigurationBuilder forGroup(String groupName) { return pathGroup(groupName, null); }
/** * <p>Creates a configuration for the given <code>path</code> based on a previously configured path group.</p> * * @param path The path. It should always begin with a slash. Some examples of path are: /rest, /rest/*, /*.jsf. * @param groupName The group name. It must be a valid name referencing a path group defined using the {@link org.picketlink.config.http.AbstractHttpSecurityBuilder#forGroup(String)}. * @return */ public PathConfigurationBuilder forPath(String path, String groupName) { return pathGroup(groupName, path); }
/** * <p>Creates a configuration for the given <code>path</code> based on a previously configured path group.</p> * * @param path The path. It should always begin with a slash. Some examples of path are: /rest, /rest/*, /*.jsf. * @param groupName The group name. It must be a valid name referencing a path group defined using the {@link org.picketlink.config.http.AbstractHttpSecurityBuilder#forGroup(String)}. * @return */ public PathConfigurationBuilder forPath(String path, String groupName) { return pathGroup(groupName, path); }
/** * <p>Creates a configuration for a group of paths.</p> * * @param groupName The name of the path group. * @return */ public PathConfigurationBuilder forGroup(String groupName) { return pathGroup(groupName, null); }
/** * <p>Creates a configuration for a group of paths.</p> * * @param groupName The name of the path group. * @return */ public PathConfigurationBuilder forGroup(String groupName) { return pathGroup(groupName, null); }