AssertionPolicy Class


Description

Class that, given an array with Attributtes checks if the policy authorizes the assertion.

Methods

PUBLIC getError():String

Function that gets the error. Returns null if there's no error.

PUBLIC checkPolicy(attrs):String

Function that checks if the SAML2 assertion is a valid one.

  • Array attrs: The attributes of the assertion.