All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.johnjcool.keycloak.broker.cas.model.ServiceResponse Maven / Gradle / Ivy

There is a newer version: 4.8.3.Final
Show newest version
package io.github.johnjcool.keycloak.broker.cas.model;

import java.io.Serializable;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "serviceResponse", namespace = "http://www.yale.edu/tp/cas")
public class ServiceResponse implements Serializable {

	private static final long serialVersionUID = 1L;

	@XmlElement(name = "authenticationFailure", namespace = "http://www.yale.edu/tp/cas")
	private Failure failure;

	@XmlElement(name = "authenticationSuccess", namespace = "http://www.yale.edu/tp/cas")
	private Success success;

	public Failure getFailure() {
		return failure;
	}

	public void setFailure(final Failure failure) {
		this.failure = failure;
	}

	public Success getSuccess() {
		return success;
	}

	public void setSuccess(final Success success) {
		this.success = success;
	}

	@Override
	public String toString() {
		return String.format("ServiceResponse [failure=%s, success=%s]", failure, success);
	}
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy