Set enum as static
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/information-system/resource-registry@150411 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
482b18640e
commit
908cfb5fae
|
@ -86,7 +86,7 @@ public abstract class SecurityContextMapper {
|
|||
}
|
||||
}
|
||||
|
||||
public enum SecurityType {
|
||||
public static enum SecurityType {
|
||||
ROLE("Role"), USER("User");
|
||||
|
||||
private final String name;
|
||||
|
@ -100,7 +100,7 @@ public abstract class SecurityContextMapper {
|
|||
}
|
||||
}
|
||||
|
||||
public enum PermissionMode {
|
||||
public static enum PermissionMode {
|
||||
READER("Reader"), WRITER("Writer");
|
||||
|
||||
private final String name;
|
||||
|
|
Loading…
Reference in New Issue