Generated by
JDiff

Interface org.cyclos.impl.access.SessionData

Added interface org.cyclos.entities.users.RoleContainer.

Removed Methods
boolean hasRole(Role) Returns whether the current user has the given role
 

Added Methods
String getPrincipal() Returns the principal used to access this session, if any
boolean isAdminOf(BasicUser) Returns whether the current user is an administrator of the given user
boolean isBrokerOf(BasicUser) Returns whether the current user is a broker of the given user
boolean isGuest() Returns whether the current session represents a guest
boolean isLoggedIn() Returns whether the current session represents an user
boolean isMemberOnly() Returns true if the logged user has only Role member.
boolean isScript() Returns whether this session is running under a script
boolean isSystem() Returns whether the current session represents a system task
 

Changed Methods
AccessClient getAccessClient() Documentation changed from old to new.
Return the current access client only if .getPrincipalType() return an instance of AccessClientPrincipalType.
Token getToken() Documentation changed from old to new.
Return the current token only if .getPrincipalType() return an instance of TokenPrincipalType.