Project

General

Profile

Access Control » History » Version 2

Luke Murphey, 11/02/2010 01:00 AM

1 1 Luke Murphey
h1. Access Control
2 1 Luke Murphey
3 1 Luke Murphey
NSIA supports rights and object-level permissions. The difference between rights and permissions is that rights do not apply to a particular object while object-level permissions do.
4 2 Luke Murphey
5 2 Luke Murphey
Authentication is performed by classes that implement source:trunk/src/net/lukemurphey/nsia/Authentication.java. By default, only local password authentication is supported.
6 2 Luke Murphey
7 2 Luke Murphey
h2. Relevant Classes
8 2 Luke Murphey
9 2 Luke Murphey
Below are a list of classes that are relevant to Access Controls:
10 2 Luke Murphey
11 2 Luke Murphey
 * Manages deletion, creation and modification of ACLs: source:trunk/src/net/lukemurphey/nsia/AccessControl.java
12 2 Luke Murphey
 * Describes a right: source:trunk/src/net/lukemurphey/nsia/RightDescriptor.java
13 2 Luke Murphey
 * Describes an ACL (for permissions): source:trunk/src/net/lukemurphey/nsia/AccessControlDescriptor.java
14 2 Luke Murphey
 * Both rights and ACLs implement this class: trunk/src/net/lukemurphey/nsia/ObjectPermissionDescriptor.java
15 2 Luke Murphey
 * Authenticator that handles checking users passwords (using "PBKDF2":http://en.wikipedia.org/wiki/PBKDF2): source:trunk/src/net/lukemurphey/nsia/LocalPasswordAuthentication.java
16 2 Luke Murphey
 * Base class for all authenticators: source:trunk/src/net/lukemurphey/nsia/Authentication.java