Interface RestrictedTokenAction<T>


  • public interface RestrictedTokenAction<T>
    Utility interface to be used with RestrictedTokenContext.doUsing() for performing actions with restricted tokens in a specific context used for token restriction checking
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      T run()
      Perform an arbitrary action which involves a restricted token in a context provided by RestrictedTokenContext.doUsing()
    • Method Detail

      • run

        T run()
        throws Exception
        Perform an arbitrary action which involves a restricted token in a context provided by RestrictedTokenContext.doUsing()
        Returns:
        a class-dependent value that may represent the results of the computation
        Throws:
        Exception - an exceptional condition has occured