Robert von Burg
59e25a8e75
[Minor] code cleanup
2012-11-19 22:50:32 +01:00
Robert von Burg
8b780368d7
[Devel] implementing PrivilegeHandler.runAsSystem()
...
Implementing the runAsSystem() so that special actions can be performed,
where no user is logged in
Refactored the test classes so that model specific classes are in the
model sub package.
2012-08-05 01:33:54 +02:00
Robert von Burg
45e5eac46d
[Minor] change modifier of DefaultPrivilegeHandler.nextSessionId()
...
set method DefaultPrivilegeHandler.nextSessionId() to protected from
private so it can be used in sub classes
2012-08-04 21:31:56 +02:00
Robert von Burg
b78e9bb064
[New] added a new PrivilegeHandler.queryUser(UserRep) to query users
...
- The querying is done by passing a UserRep with all the fields set
which
need to be equal to select the user. Null fields are understood as not
required
- Performed further clean up in that all password variables have been
changed to type byte[].
- Cleaned up copyright notices in files
- fixed version of Privilege 0.1.0-SNAPSHOT in pom.xml
2012-07-29 18:23:31 +02:00
Robert von Burg
0e026bf713
[Major] rebuilt project to use Maven.
...
- Now a "mvn compile" will build the project
- Note, that since ch.eitchnet.utils is a dependency, it must be installed first using "mvn install" to be able to compile Privilege
2012-07-28 15:40:01 +02:00
Robert von Burg
81cb2aa8ae
[Interface] added a property map to the Certificate which is a copy of
...
the users properties on login. This map can be used to configure the
user's session
2011-11-11 10:56:56 +01:00
Robert von Burg
db3c086d39
[Minor] minor message change where if <AllAllowed> is false, the policy,
...
deny and allow must be defined. This is now better communicated in the
exception message
2011-11-09 15:05:05 +01:00
Robert von Burg
cb6215b235
[Bugfix] fixed a bug where if the <AllAllowed> tag was not defined in
...
the PrivilegeModel.xml file then a NullPointer was thrown. It is now
possible to leave out this tag, in which case false is assumed
2011-11-09 15:03:50 +01:00
Robert von Burg
058e67f10e
[New] it is now possible for a user to change their own password
2011-08-07 16:13:23 +02:00
Robert von Burg
bb515756cb
[New] Changed Privilege Users to have a map of properties with which
...
meta data of a user can be stored. This can be used for validationg
privileges on user specific data
2011-08-07 16:00:38 +02:00
eitch
bef87b1a18
[Minor] code comments cleanup, added LGPL reference and copyright notice
2011-08-07 10:14:40 +00:00
eitch
4c455c130a
2011-07-31 15:18:29 +00:00
eitch
e8a7fb5cf9
[Interface] changed all methods which return boolean on action allowed to be void as they must throw exceptions if the privilege is not granted
2011-07-30 17:34:53 +00:00
eitch
6191949c3e
[Minor] logging of authentication attempts
2011-07-30 14:10:47 +00:00
eitch
8b9c8ea1e5
[Major] refactored the use of the Privilege class, now Roles have Privileges in a composition relationship
2011-07-30 13:20:08 +00:00
eitch
65c17ab4a3
[New] added a PasswordCreaterUI with which hashes of passwords can be created
2011-07-29 19:52:44 +00:00
eitch
20a696918b
2011-07-29 19:51:00 +00:00
eitch
7e82285306
[Minor] logging of authentication attempts
2011-07-29 00:30:08 +00:00
eitch
d2dff36b4b
[Minor] exposed some fields of the DefaultPrivilegeHandler by setting them to protected
2011-07-28 22:31:18 +00:00
eitch
f26013583d
[Interface] modified privilege to have only two configuration files: Privilege.xml for the configuration for the handlers and Policies. and PrivilegeModel.xml for the configuration of the run time modifiable data (roles, users, privileges)
2011-07-28 20:50:35 +00:00
eitch
42383f9400
[New] added a new PrivilegeHandler.invalidate(Certificate)-method with which users can log out of Privilege
2011-07-27 20:15:47 +00:00
eitch
47927ac99b
[Major] updated a lot of JavaDoc and made sure that every class has at least a header JavaDoc with a description. Added a TODO under the doc folder with some TODOs =)
2011-07-25 22:00:41 +00:00
eitch
66128804cd
[Minor] added some java docs
2010-11-27 21:54:46 +00:00
eitch
7d231ebb3a
[Minor] added some java docs
2010-11-27 21:00:34 +00:00
eitch
fe1e4b5395
2010-11-01 22:01:44 +00:00
eitch
6c5b266f67
[Minor] wrote some java docs
2010-09-19 20:19:38 +00:00
eitch
a3e2515f38
[Bugfix] cleaned up a lot of warnings
2010-09-19 18:57:23 +00:00
eitch
1d410a6ede
2010-09-18 20:13:31 +00:00
eitch
bef8474114
2010-09-18 20:03:29 +00:00
eitch
7c0c86fe66
2010-09-18 20:00:20 +00:00
eitch
55679fc62d
2010-08-08 20:13:36 +00:00
eitch
28f1e4a662
2010-08-02 23:20:54 +00:00
eitch
57f0164e38
2010-07-14 21:26:52 +00:00
eitch
b523f680f9
- implemented default model handler
...
- added JUnit 4 test case
2010-06-21 21:45:55 +00:00
eitch
f491dd7293
2010-06-20 20:13:58 +00:00
eitch
bfb7082a47
2010-06-20 20:12:19 +00:00
eitch
9daaccd318
2010-06-20 20:11:53 +00:00
eitch
c653edd679
2010-06-06 19:11:36 +00:00
eitch
672768e0b2
2010-06-05 21:34:02 +00:00
eitch
aa28ab0fc3
2010-06-05 21:33:30 +00:00
eitch
dc414218e6
2010-06-05 21:06:03 +00:00
eitch
0ca04da053
2010-06-03 20:41:31 +00:00
eitch
ddb1aa279a
- remodelled privilege to be its own object and put all models into the persistence handler
2010-06-03 20:37:00 +00:00
eitch
152d58d515
2010-05-31 21:55:52 +00:00
eitch
756ae1e3e9
2010-05-31 21:44:15 +00:00
eitch
0775f52b0c
2010-05-31 19:34:26 +00:00
eitch
89e4f30bcf
2010-05-30 19:28:39 +00:00
eitch
00ed10014d
2010-05-29 22:32:53 +00:00
eitch
d4f471028e
2010-05-29 19:11:28 +00:00
eitch
7de4b5f4f1
2010-05-29 18:47:04 +00:00