org.apache.rahas.impl.util
Interface SAMLCallbackHandler
public interface SAMLCallbackHandler
SAMLCallback Handler enables you to add data to the
to the SAMLAssertion.
For example Assertions, NameIdentifiers.
Method Summary |
void |
handle(SAMLCallback callback)
SAMLCallback object has indicates what kind of data is required. |
handle
void handle(SAMLCallback callback)
throws org.opensaml.SAMLException
- 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.
}
- Parameters:
callback
-
- Throws:
org.opensaml.SAMLException