org.apache.ws.security.common
Class SAML2CallbackHandler

java.lang.Object
  extended by org.apache.ws.security.common.AbstractSAMLCallbackHandler
      extended by org.apache.ws.security.common.SAML2CallbackHandler
All Implemented Interfaces:
javax.security.auth.callback.CallbackHandler

public class SAML2CallbackHandler
extends AbstractSAMLCallbackHandler

A Callback Handler implementation for a SAML 2 assertion. By default it creates an authentication assertion using Sender Vouches.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.ws.security.common.AbstractSAMLCallbackHandler
AbstractSAMLCallbackHandler.Statement
 
Field Summary
 
Fields inherited from class org.apache.ws.security.common.AbstractSAMLCallbackHandler
certIdentifier, certs, conditions, confirmationMethod, customAttributeValues, ephemeralKey, issuer, resource, statement, subjectConfirmationData, subjectLocalityDnsAddress, subjectLocalityIpAddress, subjectName, subjectNameIDFormat, subjectQualifier
 
Constructor Summary
SAML2CallbackHandler()
           
 
Method Summary
 void handle(javax.security.auth.callback.Callback[] callbacks)
           
 
Methods inherited from class org.apache.ws.security.common.AbstractSAMLCallbackHandler
createAndSetStatement, createKeyInfo, getEphemeralKey, setCertIdentifier, setCerts, setConditions, setConfirmationMethod, setCustomAttributeValues, setIssuer, setResource, setStatement, setSubjectConfirmationData, setSubjectLocality, setSubjectNameIDFormat
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAML2CallbackHandler

public SAML2CallbackHandler()
                     throws java.lang.Exception
Throws:
java.lang.Exception
Method Detail

handle

public void handle(javax.security.auth.callback.Callback[] callbacks)
            throws java.io.IOException,
                   javax.security.auth.callback.UnsupportedCallbackException
Throws:
java.io.IOException
javax.security.auth.callback.UnsupportedCallbackException


Copyright © 2004-2013 The Apache Software Foundation. All Rights Reserved.