Package h

Class basic_auth_credentials

java.lang.Object
jason.asSemantics.DefaultInternalAction
h.basic_auth_credentials
All Implemented Interfaces:
jason.asSemantics.InternalAction, Serializable

public class basic_auth_credentials extends jason.asSemantics.DefaultInternalAction

basic_auth_credentials(Username, Password, Header) is true if Header is the proper Authorization header value for Username / Password, as per HTTP basic authentication.

See Also:
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args)
     

    Methods inherited from class jason.asSemantics.DefaultInternalAction

    canBeUsedInContext, checkArguments, destroy, getMaxArgs, getMinArgs, prepareArguments, suspendIntention

    Methods inherited from class java.lang.Object

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

    • basic_auth_credentials

      public basic_auth_credentials()
  • Method Details

    • execute

      public Object execute(jason.asSemantics.TransitionSystem ts, jason.asSemantics.Unifier un, jason.asSyntax.Term[] args) throws Exception
      Specified by:
      execute in interface jason.asSemantics.InternalAction
      Overrides:
      execute in class jason.asSemantics.DefaultInternalAction
      Throws:
      Exception