Java Doc for ScarabSecurity.java in  » Issue-Tracking » scarab-0.21 » org » tigris » scarab » services » security » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Issue Tracking » scarab 0.21 » org.tigris.scarab.services.security 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.tigris.scarab.services.security.ScarabSecurity

All known Subclasses:   org.tigris.scarab.test.mocks.MockScarabSecurity,
ScarabSecurity
public class ScarabSecurity extends BaseService implements Service(Code)
This class provides access to security properties
author:
   John McNally
version:
   $Id: ScarabSecurity.java 10023 2006-03-21 15:37:06Z jorgeuriarte $


Field Summary
final public static  StringDOMAIN__ADMIN
     Specifies that a User is allowed to administer a domain.
final public static  StringDOMAIN__EDIT
     Specifies that a User is allowed to edit a domain.
final public static  StringISSUE__ASSIGN
     Specifies that a User is allowed to search for issues.
final public static  StringISSUE__ATTACH
     Specifies that a User is allowed to search for issues.
final public static  StringISSUE__COMMENT
     Specifies that a User is allowed to add comments to issues.
final public static  StringISSUE__DELETE
    
final public static  StringISSUE__EDIT
     Specifies that a User is valid as an assignee for an issue.
final public static  StringISSUE__ENTER
     Specifies that a User is allowed to enter an issue.
final public static  StringISSUE__MOVE
     Specifies that a User is allowed to move or copy an issue.
final public static  StringISSUE__SEARCH
     Specifies that a User is allowed to search for issues.
final public static  StringISSUE__VIEW
     Specifies that a User is allowed to view an issue.
final public static  StringITEM__APPROVE
     Specifies that a User is allowed to approve a query.
final public static  StringITEM__DELETE
     Specifies that a User is allowed to delete a query.
final protected static  StringMAP_PREFIX
    
final public static  StringMODULE__ADD
     Specifies that a User is allowed to add a project.
final public static  StringMODULE__CONFIGURE
     Specifies that a User is allowed to configure a project.
final public static  StringMODULE__EDIT
     Specifies that a User is allowed to modify a project.
final public static  StringNONE
     String used to indicate that an Action module does not require a permission.
final public static  StringSERVICE_NAME
    
final public static  StringTOOL_KEY
    
final public static  StringUSER__APPROVE_ROLES
     User with this permission is allowed to approve roles requested by other users.
final public static  StringUSER__CHANGE_PASSWORD
     Specifies that a User can change its password. This permission is not stored in the database, and not shown in GUI, but rather is managed by properties file.
final public static  StringUSER__EDIT_PREFERENCES
     Specifies that a User is allowed to edit preferences.
final public static  StringVOTE__MANAGE
     Specifies that a User is allowed to set up voting policies.

Constructor Summary
public  ScarabSecurity()
    

Method Summary
public static  StringgetActionPermission(String action)
    
protected  StringgetActionPermissionImpl(String action)
    
public static  ListgetAllPermissions()
    
protected  ListgetAllPermissionsImpl()
    
protected  StringgetPermissionImpl(String permConstant)
    
public static  StringgetScreenPermission(String screen)
    
protected  StringgetScreenPermissionImpl(String screen)
    
final protected static  ScarabSecuritygetService()
     Gets the ScarabSecurity implementation.
public  voidinit()
    

Field Detail
DOMAIN__ADMIN
final public static String DOMAIN__ADMIN(Code)
Specifies that a User is allowed to administer a domain.



DOMAIN__EDIT
final public static String DOMAIN__EDIT(Code)
Specifies that a User is allowed to edit a domain.



ISSUE__ASSIGN
final public static String ISSUE__ASSIGN(Code)
Specifies that a User is allowed to search for issues.



ISSUE__ATTACH
final public static String ISSUE__ATTACH(Code)
Specifies that a User is allowed to search for issues.



ISSUE__COMMENT
final public static String ISSUE__COMMENT(Code)
Specifies that a User is allowed to add comments to issues.



ISSUE__DELETE
final public static String ISSUE__DELETE(Code)
Specifies that a User is able to mark an issue as 'deleted'



ISSUE__EDIT
final public static String ISSUE__EDIT(Code)
Specifies that a User is valid as an assignee for an issue.



ISSUE__ENTER
final public static String ISSUE__ENTER(Code)
Specifies that a User is allowed to enter an issue.



ISSUE__MOVE
final public static String ISSUE__MOVE(Code)
Specifies that a User is allowed to move or copy an issue.



ISSUE__SEARCH
final public static String ISSUE__SEARCH(Code)
Specifies that a User is allowed to search for issues.



ISSUE__VIEW
final public static String ISSUE__VIEW(Code)
Specifies that a User is allowed to view an issue.



ITEM__APPROVE
final public static String ITEM__APPROVE(Code)
Specifies that a User is allowed to approve a query.



ITEM__DELETE
final public static String ITEM__DELETE(Code)
Specifies that a User is allowed to delete a query.



MAP_PREFIX
final protected static String MAP_PREFIX(Code)



MODULE__ADD
final public static String MODULE__ADD(Code)
Specifies that a User is allowed to add a project.



MODULE__CONFIGURE
final public static String MODULE__CONFIGURE(Code)
Specifies that a User is allowed to configure a project.



MODULE__EDIT
final public static String MODULE__EDIT(Code)
Specifies that a User is allowed to modify a project.



NONE
final public static String NONE(Code)
String used to indicate that an Action module does not require a permission.



SERVICE_NAME
final public static String SERVICE_NAME(Code)
The name of the service



TOOL_KEY
final public static String TOOL_KEY(Code)



USER__APPROVE_ROLES
final public static String USER__APPROVE_ROLES(Code)
User with this permission is allowed to approve roles requested by other users.



USER__CHANGE_PASSWORD
final public static String USER__CHANGE_PASSWORD(Code)
Specifies that a User can change its password. This permission is not stored in the database, and not shown in GUI, but rather is managed by properties file.



USER__EDIT_PREFERENCES
final public static String USER__EDIT_PREFERENCES(Code)
Specifies that a User is allowed to edit preferences.



VOTE__MANAGE
final public static String VOTE__MANAGE(Code)
Specifies that a User is allowed to set up voting policies.




Constructor Detail
ScarabSecurity
public ScarabSecurity()(Code)




Method Detail
getActionPermission
public static String getActionPermission(String action)(Code)



getActionPermissionImpl
protected String getActionPermissionImpl(String action)(Code)



getAllPermissions
public static List getAllPermissions()(Code)



getAllPermissionsImpl
protected List getAllPermissionsImpl()(Code)



getPermissionImpl
protected String getPermissionImpl(String permConstant)(Code)



getScreenPermission
public static String getScreenPermission(String screen)(Code)



getScreenPermissionImpl
protected String getScreenPermissionImpl(String screen)(Code)



getService
final protected static ScarabSecurity getService()(Code)
Gets the ScarabSecurity implementation. the ScarabSecurity implementation.



init
public void init()(Code)



www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.