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

dk.itst.oiosaml.oiobpp.PrivilegeGroup Maven / Gradle / Ivy

Go to download

SAML Servlet Filter, configured to work with the danish SAML profile OIOSAML 2.0.9

The newest version!
package dk.itst.oiosaml.oiobpp;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "", propOrder = { "privilege", "constraint" })
public class PrivilegeGroup {

	@XmlElement(name = "Privilege", required = true)
	protected List privilege;
	
	@XmlElement(name = "Constraint", required = false)
	protected List constraint;

	@XmlAttribute(name = "Scope")
	protected String scope;

	public List getPrivilege() {
		return privilege;
	}
	
	public void setPrivilege(List privilege) {
		this.privilege = privilege;
	}
	
	public List getConstraint() {
		if (this.constraint == null) {
			return new ArrayList();
		}
		
		return constraint;
	}

	public void setConstraint(List constraint) {
		this.constraint = constraint;
	}
	
	public String getScope() {
		return scope;
	}
	
	public void setScope(String scope) {
		this.scope = scope;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy