Project

General

Profile

Access Control

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.

Authentication is performed by classes that implement source:trunk/src/net/lukemurphey/nsia/Authentication.java. By default, only local password authentication is supported.

Relevant Classes

Below are a list of classes that are relevant to Access Controls:

  • Manages deletion, creation and modification of ACLs: source:trunk/src/net/lukemurphey/nsia/AccessControl.java
  • Describes a right: source:trunk/src/net/lukemurphey/nsia/RightDescriptor.java
  • Describes an ACL (for permissions): source:trunk/src/net/lukemurphey/nsia/AccessControlDescriptor.java
  • Both rights and ACLs implement this class: trunk/src/net/lukemurphey/nsia/ObjectPermissionDescriptor.java
  • Authenticator that handles checking users passwords (using PBKDF2): source:trunk/src/net/lukemurphey/nsia/LocalPasswordAuthentication.java
  • Base class for all authenticators: source:trunk/src/net/lukemurphey/nsia/Authentication.java