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

org.apache.rahas.impl.util.SAMLCallbackHandler Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package org.apache.rahas.impl.util;

import org.opensaml.SAMLException;

/**
 * SAMLCallback Handler enables you to add data to the
 * to the SAMLAssertion.
 * 
 * For example Assertions, NameIdentifiers.
 * 
 */
public interface SAMLCallbackHandler {

	/**
	 * SAMLCallback object has indicates what kind of data is required.
	 * if(callback.getCallbackType() == SAMLCallback.ATTR_CALLBACK)
	 * {
	 * 		SAMLAttributeCallback attrCallback = (SAMLAttributeCallback)callback;
	 * 		\//Retrieve required data from the RahasData inside SAMLAttributeCallback 
	 * 		\//Add your SAMLAttributes to the attrCallback here.
	 * 		
	 * }
	 * @param callback
	 * @throws SAMLException
	 */
	public void handle(SAMLCallback callback) throws SAMLException;

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy