@Retention(value=RUNTIME) @Target(value=METHOD) public @interface RoleProvider
This annotation can be used to mark a method of a PrincipalEntity class is role provider.
The method signature of the class must be:
public String methodName();
Specifically, the method shall returns a list of role names separated by StringTokenSet.SEPARATOR
Copyright © 2015–2019 ActFramework. All rights reserved.