Package org.jasig.cas.ticket.support

Examples of org.jasig.cas.ticket.support.TimeoutExpirationPolicy


  private TicketGrantingTicketImpl generateRandomTicket() {
    String id = this.generator.getNewTicketId("TGT");
        final SimplePrincipal principal = new SimplePrincipal(id);
    TicketGrantingTicketImpl ticket = new TicketGrantingTicketImpl(id,
        new ImmutableAuthentication(principal),
        new TimeoutExpirationPolicy(500));

    return ticket;
  }
View Full Code Here


    this.reg.addTicket(ticket);
  }

  TicketGrantingTicket getTicket(String id) {
        final SimplePrincipal principal = new SimplePrincipal(id);
        TicketGrantingTicket ticket = new TicketGrantingTicketImpl(id, new ImmutableAuthentication(principal), new TimeoutExpirationPolicy(500));

    return ticket;
  }
View Full Code Here

        final String id = this.generator.getNewTicketId("TGT");
        final SimplePrincipal principal = new SimplePrincipal(id);

        TicketGrantingTicketImpl ticket = new TicketGrantingTicketImpl(id,
            new ImmutableAuthentication(principal),
            new TimeoutExpirationPolicy(500));

        return ticket;
    }
View Full Code Here

TOP

Related Classes of org.jasig.cas.ticket.support.TimeoutExpirationPolicy

Copyright © 2018 www.massapicom. 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.