Class DelegatingACR

    • Constructor Summary

      Constructors 
      Constructor Description
      DelegatingACR()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Class getClass​(java.lang.String className, java.lang.String purpose)
      Convert a single fully qualified class name into a Class object
      protected java.lang.Class[] getParameters​(java.lang.String[] parameterClassNames)
      Convert an array of fully qualified class names into an array of Class objects
      boolean isAuthorized​(java.lang.Object[] runtimeParameters)
      Delegates to the method specified in setPolicyParameters
      void setPolicyParameters​(DynaBeanACRParameter policyParameter)  
      • Methods inherited from class java.lang.Object

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

      • delegateMethod

        protected java.lang.reflect.Method delegateMethod
      • delegateInstance

        protected java.lang.Object delegateInstance
    • Constructor Detail

      • DelegatingACR

        public DelegatingACR()
    • Method Detail

      • getParameters

        protected final java.lang.Class[] getParameters​(java.lang.String[] parameterClassNames)
        Convert an array of fully qualified class names into an array of Class objects
        Parameters:
        parameterClassNames -
        Returns:
        The Class objects found that match the specified class names provided.
      • getClass

        protected final java.lang.Class getClass​(java.lang.String className,
                                                 java.lang.String purpose)
        Convert a single fully qualified class name into a Class object
        Parameters:
        className -
        purpose -
        Returns:
        The Class matching the specified name, if it exists.
      • isAuthorized

        public boolean isAuthorized​(java.lang.Object[] runtimeParameters)
                             throws java.lang.Exception
        Delegates to the method specified in setPolicyParameters
        Throws:
        java.lang.Exception