iya-sts
    Preparing search index...

    Class export=

    Draws XACML's overview, its policies, the remote PEPs, the decisions and the decision form from the answers of GET /admin-api/xacml, /xacml/policies, /xacml/peps, /xacml/monitor and /xacml/decide.

    A static utility class; it holds no state and takes no dependencies.

    Index
    • Draws the policies applications own, grouped by application.

      Parameters

      • json: any

        policiesJson()'s answer

      • writable: boolean

        whether the reader may change them

      • t: any

        the page's translator (#539)

      Returns string

      the section's HTML

    • Draws the AuthZEN tab (#563) from GET /admin-api/xacml/authzen: the API's state and settings, its attribute catalogue with the form that adds a row, the callers in the AUTHZEN_PEPS group with their scopes and callback URLs, and the realm's access requests with their acts (#1180).

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the tab's view

      Returns string

      the body as HTML

    • Draws Try a decision from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        decideJson()'s answer

      Returns string

      the body as HTML

    • Parameters

      • row: any
      • t: any

      Returns string

    • Parameters

      • json: any
      • row: any
      • t: any

      Returns string

    • Draws the policy editor from the answer of GET /admin-api/xacml/editor: the chooser, the warnings, the policy as a tree with each node's next valid elements and edit form, and the document.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        the answer

      Returns string

      the body as HTML

    • Parameters

      • row: any
      • t: any

      Returns string

    • Parameters

      • json: any
      • row: any
      • node: any
      • t: any

      Returns string

    • Parameters

      • name: string
      • value: unknown

      Returns string

    • Draws XACML decisions from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        monitorJson()'s answer

      Returns string

      the body as HTML

    • Parameters

      • row: any
      • t: any

      Returns string

    • Parameters

      • where: any[]
      • t: any

      Returns string

    • Draws Protocols → XACML from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        overviewJson()'s answer

      Returns string

      the body as HTML

    • Draws Remote PEPs from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        pepsJson()'s answer

      Returns string

      the body as HTML

    • Draws XACML policies from its view.

      Parameters

      • ctx: any

        the render context (WebKit.context())

      • json: any

        policiesJson()'s answer

      Returns string

      the body as HTML

    • Draws the page's body from its view.

      Parameters

      • view: any

        the answer of the page's management API operation

      • ctx: any

        the render context: the page's query and whether the reader may write (WebKit.context())

      Returns string

      the body as HTML

    • Parameters

      • rows: any[]
      • writable: boolean
      • t: any

      Returns string

    • Parameters

      • name: string
      • options: any[]
      • selected: unknown
      • Optionalextra: string

      Returns string

    • Parameters

      • rows: any[]
      • t: any

      Returns string

    • Parameters

      • n: number
      • of: number

      Returns string

    • Parameters

      • name: string
      • value: unknown
      • Optionalsize: number

      Returns string

    • Draws a yes/no select.

      Parameters

      • name: string

        the field's name

      • value: unknown

        whether it is yes

      • t: any

        the page's translator (#539): the option LABELS are words, the values stay false and true

      Returns string

      the select as HTML