Java Doc for SecurityAccessImpl.java in  » Portal » jetspeed-2.1.3 » org » apache » jetspeed » security » spi » impl » 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 » Portal » jetspeed 2.1.3 » org.apache.jetspeed.security.spi.impl 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
   org.apache.jetspeed.security.spi.impl.SecurityAccessImpl

SecurityAccessImpl
public class SecurityAccessImpl extends InitablePersistenceBrokerDaoSupport implements SecurityAccess(Code)

Provides a utility class for common SPI queries.


author:
   David Le Strat
author:
   David Sean Taylor



Constructor Summary
public  SecurityAccessImpl(String repositoryPath)
    

Method Summary
public  InternalGroupPrincipalgetInternalGroupPrincipal(String groupFullPathName)
    

Returns the InternalGroupPrincipal from the group full path name.


Parameters:
  groupFullPathName - The group full path name.
public  IteratorgetInternalGroupPrincipals(String filter)
    
public  InternalRolePrincipalgetInternalRolePrincipal(String roleFullPathName)
    

Returns the InternalRolePrincipal from the role full path name.


Parameters:
  roleFullPathName - The role full path name.
public  IteratorgetInternalRolePrincipals(String filter)
    
public  InternalUserPrincipalgetInternalUserPrincipal(String username)
    

Returns the InternalUserPrincipal from the user name.


Parameters:
  username - The user name.
public  InternalUserPrincipalgetInternalUserPrincipal(String username, boolean isMappingOnly)
    

Returns the InternalUserPrincipal from the user name.


Parameters:
  username - The user name.
Parameters:
  isMappingOnly - Whether a principal's purpose is for security mappping only.
public  IteratorgetInternalUserPrincipals(String filter)
    

Returns a collection of Principal given the filter.


Parameters:
  filter - The filter.
public  booleanisKnownUser(String username)
    

Returns if a Internal UserPrincipal is defined for the user name.


Parameters:
  username - The user name.
public  voidremoveInternalGroupPrincipal(InternalGroupPrincipal internalGroup)
    

Remove the given InternalGroupPrincipal .

public  voidremoveInternalRolePrincipal(InternalRolePrincipal internalRole)
    

Remove the given InternalRolePrincipal .

public  voidremoveInternalUserPrincipal(InternalUserPrincipal internalUser)
    

Remove the given InternalUserPrincipal .

public  voidsetInternalGroupPrincipal(InternalGroupPrincipal internalGroup, boolean isMappingOnly)
    

Sets the given InternalGroupPrincipal .

public  voidsetInternalRolePrincipal(InternalRolePrincipal internalRole, boolean isMappingOnly)
    

Sets the given InternalRolePrincipal .

public  voidsetInternalUserPrincipal(InternalUserPrincipal internalUser, boolean isMappingOnly)
    

Sets the given InternalUserPrincipal .



Constructor Detail
SecurityAccessImpl
public SecurityAccessImpl(String repositoryPath)(Code)

Parameters:
  repositoryPath -




Method Detail
getInternalGroupPrincipal
public InternalGroupPrincipal getInternalGroupPrincipal(String groupFullPathName)(Code)

Returns the InternalGroupPrincipal from the group full path name.


Parameters:
  groupFullPathName - The group full path name. The InternalGroupPrincipal.



getInternalGroupPrincipals
public Iterator getInternalGroupPrincipals(String filter)(Code)



getInternalRolePrincipal
public InternalRolePrincipal getInternalRolePrincipal(String roleFullPathName)(Code)

Returns the InternalRolePrincipal from the role full path name.


Parameters:
  roleFullPathName - The role full path name. The InternalRolePrincipal.



getInternalRolePrincipals
public Iterator getInternalRolePrincipals(String filter)(Code)



getInternalUserPrincipal
public InternalUserPrincipal getInternalUserPrincipal(String username)(Code)

Returns the InternalUserPrincipal from the user name.


Parameters:
  username - The user name. The InternalUserPrincipal.



getInternalUserPrincipal
public InternalUserPrincipal getInternalUserPrincipal(String username, boolean isMappingOnly)(Code)

Returns the InternalUserPrincipal from the user name.


Parameters:
  username - The user name.
Parameters:
  isMappingOnly - Whether a principal's purpose is for security mappping only. The InternalUserPrincipal.



getInternalUserPrincipals
public Iterator getInternalUserPrincipals(String filter)(Code)

Returns a collection of Principal given the filter.


Parameters:
  filter - The filter. Collection of InternalUserPrincipal.



isKnownUser
public boolean isKnownUser(String username)(Code)

Returns if a Internal UserPrincipal is defined for the user name.


Parameters:
  username - The user name. true if the user is known



removeInternalGroupPrincipal
public void removeInternalGroupPrincipal(InternalGroupPrincipal internalGroup) throws SecurityException(Code)

Remove the given InternalGroupPrincipal .


Parameters:
  internalGroup - The InternalGroupPrincipal.
throws:
  SecurityException - Throws a SecurityException.



removeInternalRolePrincipal
public void removeInternalRolePrincipal(InternalRolePrincipal internalRole) throws SecurityException(Code)

Remove the given InternalRolePrincipal .


Parameters:
  internalRole - The InternalRolePrincipal.
throws:
  SecurityException - Throws a SecurityException.



removeInternalUserPrincipal
public void removeInternalUserPrincipal(InternalUserPrincipal internalUser) throws SecurityException(Code)

Remove the given InternalUserPrincipal .


Parameters:
  internalUser - The InternalUserPrincipal.
throws:
  SecurityException - Throws a SecurityException.



setInternalGroupPrincipal
public void setInternalGroupPrincipal(InternalGroupPrincipal internalGroup, boolean isMappingOnly) throws SecurityException(Code)

Sets the given InternalGroupPrincipal .


Parameters:
  internalGroup - The InternalGroupPrincipal.
Parameters:
  isMappingOnly - Whether a principal's purpose is for security mappping only.
throws:
  SecurityException - Throws a SecurityException.



setInternalRolePrincipal
public void setInternalRolePrincipal(InternalRolePrincipal internalRole, boolean isMappingOnly) throws SecurityException(Code)

Sets the given InternalRolePrincipal .


Parameters:
  internalRole - The InternalRolePrincipal.
Parameters:
  isMappingOnly - Whether a principal's purpose is for security mappping only.
throws:
  SecurityException - Throws a SecurityException.



setInternalUserPrincipal
public void setInternalUserPrincipal(InternalUserPrincipal internalUser, boolean isMappingOnly) throws SecurityException(Code)

Sets the given InternalUserPrincipal .


Parameters:
  internalUser - The InternalUserPrincipal.
Parameters:
  isMappingOnly - Whether a principal's purpose is for security mappping only.
throws:
  SecurityException - Throws a SecurityException.



Fields inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
protected String repositoryPath(Code)(Java Doc)

Methods inherited from org.apache.jetspeed.components.dao.InitablePersistenceBrokerDaoSupport
public void init() throws Exception(Code)(Java Doc)

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