Class ApiPermissionService

  • All Implemented Interfaces:
    java.io.Serializable

    @ApplicationScoped
    @Named
    public class ApiPermissionService
    extends java.lang.Object
    implements java.io.Serializable
    Provides service to protect Rest service endpoints with UMA scope.
    Author:
    Dmitry Ognyannikov
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean hasPermission​(java.lang.Object target, java.lang.String action)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ApiPermissionService

        public ApiPermissionService()
    • Method Detail

      • hasPermission

        public boolean hasPermission​(java.lang.Object target,
                                     java.lang.String action)