Principal to contain all the user roles 27/427/1
authorAlessandro Boch <aboch@cisco.com>
Tue, 4 Jun 2013 02:19:28 +0000 (19:19 -0700)
committerAlessandro Boch <aboch@cisco.com>
Tue, 4 Jun 2013 03:19:47 +0000 (20:19 -0700)
commitd388231a121e26c67a4f8c0abff447f517a6fe67
tree91104d0e19cb8508c91dedd18499374c09648671
parent1e9531138e44cd757ca27b0d86e98eccb22ccd82
Principal to contain all the user roles

- Added IUserManager.getUserLevels() which returns all the controller levels for the passed user
- Modified CustomRealm to return a principal containing all the controller roles for the passed user
- Code style and format changes for the touched files

Signed-off-by: Alessandro Boch <aboch@cisco.com>
opendaylight/security/src/main/java/org/opendaylight/controller/security/ControllerCustomRealm.java
opendaylight/usermanager/src/main/java/org/opendaylight/controller/usermanager/IUserManager.java
opendaylight/usermanager/src/main/java/org/opendaylight/controller/usermanager/internal/UserManagerImpl.java