org.apache.ws.security.processor
Class SAMLTokenProcessor

java.lang.Object
  extended byorg.apache.ws.security.processor.SAMLTokenProcessor
All Implemented Interfaces:
Processor

public class SAMLTokenProcessor
extends java.lang.Object
implements Processor


Constructor Summary
SAMLTokenProcessor()
           
 
Method Summary
 java.lang.String getId()
          Return the id of the SAML token
 org.w3c.dom.Element getSamlTokenElement()
           
 org.opensaml.SAMLAssertion handleSAMLToken(org.w3c.dom.Element token)
           
 void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig wsc)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SAMLTokenProcessor

public SAMLTokenProcessor()
Method Detail

handleToken

public void handleToken(org.w3c.dom.Element elem,
                        Crypto crypto,
                        Crypto decCrypto,
                        javax.security.auth.callback.CallbackHandler cb,
                        WSDocInfo wsDocInfo,
                        java.util.Vector returnResults,
                        WSSConfig wsc)
                 throws WSSecurityException
Specified by:
handleToken in interface Processor
Throws:
WSSecurityException

handleSAMLToken

public org.opensaml.SAMLAssertion handleSAMLToken(org.w3c.dom.Element token)
                                           throws WSSecurityException
Throws:
WSSecurityException

getId

public java.lang.String getId()
Return the id of the SAML token

Specified by:
getId in interface Processor
Returns:
The Id string

getSamlTokenElement

public org.w3c.dom.Element getSamlTokenElement()


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