org.apereo.cas.ticket.query.SamlAttributeQueryTicketImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cas-server-support-saml-idp-ticket Show documentation
Show all versions of cas-server-support-saml-idp-ticket Show documentation
cas-server-support-saml-idp-ticket
package org.apereo.cas.ticket.query;
import org.apereo.cas.authentication.Authentication;
import org.apereo.cas.authentication.principal.Service;
import org.apereo.cas.ticket.AbstractTicket;
import org.apereo.cas.ticket.ExpirationPolicy;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import java.io.Serial;
/**
* This is {@link SamlAttributeQueryTicketImpl}.
*
* @author Misagh Moayyed
* @since 5.2.0
*/
@Getter
@NoArgsConstructor
@Setter
public class SamlAttributeQueryTicketImpl extends AbstractTicket implements SamlAttributeQueryTicket {
@Serial
private static final long serialVersionUID = 6276140828446447398L;
private String relyingParty;
private String object;
/**
* The {@link Authentication} this is associated with.
*/
@JsonProperty("authentication")
private Authentication authentication;
/**
* The service this ticket is valid for.
*/
private Service service;
public SamlAttributeQueryTicketImpl(final String id, final Service service,
final ExpirationPolicy expirationPolicy,
final String relyingParty, final String samlObject,
final Authentication authentication) {
super(id, expirationPolicy);
this.service = service;
this.relyingParty = relyingParty;
this.object = samlObject;
this.authentication = authentication;
}
@Override
public String getPrefix() {
return SamlAttributeQueryTicket.PREFIX;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy