Issue Details (XML | Word | Printable)

Key: DIRTSEC-1
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Alex Karasulu
Reporter: David Jencks
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Triplesec

Start toward using java.security.Permission

Created: 21/Dec/06 01:04 AM   Updated: 06/May/09 04:33 PM
Return to search
Component/s: None
Affects Version/s: None
Fix Version/s: None

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works DIR-199.patch 2006-12-21 01:09 AM David Jencks 79 kB
Text File Licensed for inclusion in ASF works DIRTSEC-1-2.patch 2006-12-22 06:32 PM David Jencks 260 kB
Java Source File Licensed for inclusion in ASF works StringPermission.java 2006-12-21 01:09 AM David Jencks 6 kB

Resolution Date: 08/Jan/07 07:04 PM


 Description  « Hide
Opening this issue for visibility of the work I'm proposing on the dev list for making triplesec useable as a JACC provider.

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Jencks added a comment - 21/Dec/06 01:09 AM
Supplying guardian-api/src/main/java/org/safehaus/triplesec/guardian/StringPermission.java as a separate file since svn bugs seem to prevent making a diff.

David Jencks added a comment - 22/Dec/06 06:32 PM
Attached patch INCLUDES all the changes in DIRTSEC-2-2.patch.

Enclosed patch completes move from triplesec Permissions class to java.security.Permissions class. It also adds denials Permissions to Role. I added a couple of simple tests of the new behavior of denied permissions, but more would be good.

Remaining steps for use as a jacc provider:
- figure out how application name and policyContextId and security domain and Subject's Principal relate
- figure out how to store other kinds of permissions in ldap

David Jencks added a comment - 08/Jan/07 07:04 PM
Everything still relevant in this patch has been applied or redone in sandbox/triplesec-jacc2.