Class MissingAuthorization


  • public class MissingAuthorization
    extends java.lang.Object
    Wrapper containing the missing authorization information. It contains the name of the violated permission, the type of the resouce and the Id of the resource.
    Author:
    Filip Hrisafov
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected java.lang.String resourceId  
    • Constructor Summary

      Constructors 
      Constructor Description
      MissingAuthorization​(java.lang.String permissionName, java.lang.String resourceType, java.lang.String resourceId)  
    • Field Detail

      • resourceId

        protected java.lang.String resourceId
    • Constructor Detail

      • MissingAuthorization

        public MissingAuthorization​(java.lang.String permissionName,
                                    java.lang.String resourceType,
                                    java.lang.String resourceId)
    • Method Detail

      • getViolatedPermissionName

        public java.lang.String getViolatedPermissionName()
      • getResourceType

        public java.lang.String getResourceType()
      • getResourceId

        public java.lang.String getResourceId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object