Class VerifyTokenTask


  • public class VerifyTokenTask
    extends KeyStoreTask
    A task to check that a token can be verified. Users who plan on using the mechanisms for delegated authentication should check that their tokens will work and that they have configured the system correctly by running this task on a sample of tokens.
    Author:
    Alex Kalderimis
    • Field Summary

      • Fields inherited from class org.apache.tools.ant.Task

        description, location, target, taskName, taskType, wrapper
      • Fields inherited from class org.apache.tools.ant.ProjectComponent

        project
    • Constructor Summary

      Constructors 
      Constructor Description
      VerifyTokenTask()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void execute()  
      void setToken​(java.lang.String token)
      Bean-style setter for token, as per ant spec.
      • Methods inherited from class org.apache.tools.ant.Task

        getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
      • Methods inherited from class org.apache.tools.ant.ProjectComponent

        getProject, setProject
      • Methods inherited from class java.lang.Object

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

      • VerifyTokenTask

        public VerifyTokenTask()
    • Method Detail

      • setToken

        public void setToken​(java.lang.String token)
        Bean-style setter for token, as per ant spec.
        Parameters:
        token - The token.
      • execute

        public void execute()
        Overrides:
        execute in class org.apache.tools.ant.Task