1
0
mirror of https://github.com/sismics/docs.git synced 2025-12-19 12:41:40 +00:00

#18: ACL check for groups

This commit is contained in:
jendib
2016-03-15 22:44:50 +01:00
parent 6012cdd9a5
commit de3f055323
13 changed files with 87 additions and 72 deletions

View File

@@ -1,6 +1,7 @@
package com.sismics.security;
import java.security.Principal;
import java.util.List;
import org.joda.time.DateTimeZone;
@@ -24,6 +25,14 @@ public interface IPrincipal extends Principal {
*/
public String getId();
/**
* Returns the list of group ID of the connected user,
* or an empty list if the user is anonymous.
*
* @return List of group ID
*/
public List<String> getGroupIdList();
/**
* Returns the timezone of the principal.
*