Package com.priint.pubserver.auth


package com.priint.pubserver.auth
Interfaces and annotations useful in authentication and authorization.
Since:
4.0.0
  • Class
    Description
    Checked exception indicating that a AuthManager method failed.
    An AuthManager contains methods to scan plugin classes for annotations on permissions and roles, that is RequiresPermissions and RequiresRoles.
    The NotSecured annotation indicates that a method should be accessible regardless of session or authentication.
    Interceptor annotation for getting authorization checks done, when filter settings in web.xml or ejb-jar.xml won't work.
    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.
    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.
    The RequiresPermissions annotation requires the current Subject be permitted one or more permissions in order to execute the annotated method.
    The RequiresRoles annotation requires the current Subject to have all of the specified roles.
    The @RequiresUser annotation requires the current Subject to be an application user for the annotated class/instance/method to be accessed or invoked.
    The interface RestAuthFunctions.
    The type RestSecuredInterceptor.
    The type Rest secured interceptor any phase.