KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > atlassian > seraph > SecurityService


1 package com.atlassian.seraph;
2
3 import javax.servlet.http.HttpServletRequest JavaDoc;
4 import java.io.Serializable JavaDoc;
5 import java.util.Set JavaDoc;
6
7 /**
8  * A SecurityService determines which roles a user is required to have to access a resource.
9  *
10  * Two services are provided with Seraph by default, {@link com.atlassian.seraph.service.PathService}
11  * and {@link com.atlassian.seraph.service.WebworkService}.
12  */

13 public interface SecurityService extends Serializable JavaDoc, Initable
14 {
15     public void destroy();
16
17     public Set JavaDoc getRequiredRoles(HttpServletRequest JavaDoc request);
18 }
19
Popular Tags