code: protected Authentication getAuthenticationSatisfiedByPolicy(final Authentication authentication, final ServiceContext context) throws AbstractTicketException {
          val policy = this.serviceContextAuthenticationPolicyFactory.createPolicy(context);
          try {
              if (policy.isSatisfiedBy(authentication)) {
                  return authentication;
              }
          } catch (final Exception e) {
              LOGGER.error(e.getMessage(), e);
          }
          throw new UnsatisfiedAuthenticationPolicyException(policy);
      }
docs: Gets the authentication satisfied by policy.
  
  @param authentication the authentication
  @param context        the context
  @return the authentication satisfied by policy
  @throws AbstractTicketException the ticket exception