Examples of TicketValidationException


Examples of org.beangle.security.cas.validation.TicketValidationException

  protected boolean checkAliveFragment;
  protected String caKey;

  protected Assertion getAssertion() throws TicketValidationException {
    if (authenticationSuccess) return new AssertionBean(user, caKey, userMap);
    else throw new TicketValidationException(errorCode + ":" + errorMessage);
  }
View Full Code Here

Examples of org.jasig.cas.client.validation.TicketValidationException

      AssertionImpl assertion = new AssertionImpl(new AttributePrincipalImpl(user, userMap, pgtIou,
          proxyRetriever));
      if (null != caKey) assertion.getAttributes().put("caKey", caKey);
      return assertion;
    } else {
      throw new TicketValidationException(errorCode + ":" + errorMessage);
    }
  }
View Full Code Here

Examples of org.jasig.cas.ticket.TicketValidationException

                    throw new InvalidTicketException();
                }

                if (!serviceTicket.isValidFor(service)) {
                    log.error("ServiceTicket [" + serviceTicketId + "] with service [" + serviceTicket.getService().getId() + " does not match supplied service [" + service + "]");
                    throw new TicketValidationException(serviceTicket.getService());
                }
            }

            final int authenticationChainSize = serviceTicket
                .getGrantingTicket().getChainedAuthentications().size();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.