@Retention(value=RUNTIME) @Target(value=METHOD) public @interface PrivilegeProvider
This annotation can be used to mark a method of a PrincipalEntity class is privilege provider.
The method signature of the class must be either:
// returns the name of the privilege
public String methodName();
or
// returns the level of the privilege
public int methodName();
Copyright © 2015–2019 ActFramework. All rights reserved.