Package com.priint.pubserver.auth
Interfaces and annotations useful in authentication and authorization.
- Since:
- 4.0.0
-
Interface Summary Interface Description AuthManagerLocal An AuthManager contains methods to scan plugin classes for annotations on permissions and roles, that isRequiresPermissionsandRequiresRoles.RestAuthFunctions The interface RestAuthFunctions. -
Class Summary Class Description PubServerSecuredInterceptor Interceptor annotation for getting authorization checks done, when filter settings in web.xml or ejb-jar.xml won't work.RestSecuredInterceptor The type RestSecuredInterceptor.RestSecuredInterceptorAnyPhase The type Rest secured interceptor any phase. -
Exception Summary Exception Description AuthManagerException Checked exception indicating that a AuthManager method failed. -
Annotation Types Summary Annotation Type Description NotSecured The NotSecured annotation indicates that a method should be accessible regardless of session or authentication.RequiresAuthentication The RequiresAuthentication annotation requires the current Subject to have been authenticated during their current session for the annotated class/instance/method to be accessed or invoked.RequiresGuest The RequiresGuest annotation requires the current Subject to be a "guest", that is, they are not authenticated or remembered from a previous session for the annotated class/instance/method to be accessed or invoked.RequiresPermissions The RequiresPermissions annotation requires the current Subject be permitted one or more permissions in order to execute the annotated method.RequiresRoles The RequiresRoles annotation requires the current Subject to have all of the specified roles.RequiresUser The @RequiresUser annotation requires the current Subject to be an application user for the annotated class/instance/method to be accessed or invoked.