org.apache.ws.security.processor
Class BinarySecurityTokenProcessor

java.lang.Object
  extended by org.apache.ws.security.processor.BinarySecurityTokenProcessor
All Implemented Interfaces:
Processor

public class BinarySecurityTokenProcessor
extends java.lang.Object
implements Processor

Processor implementation to handle wsse:BinarySecurityToken elements


Constructor Summary
BinarySecurityTokenProcessor()
           
 
Method Summary
 java.security.cert.X509Certificate[] getCertificates()
           
 java.lang.String getId()
          Get the Id of the processoer.
 BinarySecurity getToken()
           
 java.lang.String getType()
           
 void handleToken(org.w3c.dom.Element elem, Crypto crypto, Crypto decCrypto, javax.security.auth.callback.CallbackHandler cb, WSDocInfo wsDocInfo, java.util.Vector returnResults, WSSConfig config)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BinarySecurityTokenProcessor

public BinarySecurityTokenProcessor()
Method Detail

getId

public java.lang.String getId()
Get the Id of the processoer.

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

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 config)
                 throws WSSecurityException

Specified by:
handleToken in interface Processor
Throws:
WSSecurityException

getType

public java.lang.String getType()

getCertificates

public java.security.cert.X509Certificate[] getCertificates()

getToken

public BinarySecurity getToken()


Copyright © 2004-2009 Apache Web Services. All Rights Reserved.