PicketLink Federation Core 2.1.6.Final-redhat-2

org.picketlink.identity.federation.core.wstrust.writers
Class WSSecurityWriter

java.lang.Object
  extended by org.picketlink.identity.federation.core.wstrust.writers.WSSecurityWriter

public class WSSecurityWriter
extends Object

Write WS-Security Elements

Since:
Nov 8, 2010
Author:
Anil.Saldhana@redhat.com

Constructor Summary
WSSecurityWriter(XMLStreamWriter writer)
           
 
Method Summary
 void write(UsernameTokenType usernameToken)
           
 void writeLifetime(XMLGregorianCalendar created, XMLGregorianCalendar expires)
           
 void writeSecurityTokenReference(SecurityTokenReferenceType secRef)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WSSecurityWriter

public WSSecurityWriter(XMLStreamWriter writer)
Method Detail

write

public void write(UsernameTokenType usernameToken)
           throws ProcessingException
Throws:
ProcessingException

writeLifetime

public void writeLifetime(XMLGregorianCalendar created,
                          XMLGregorianCalendar expires)
                   throws ProcessingException
Throws:
ProcessingException

writeSecurityTokenReference

public void writeSecurityTokenReference(SecurityTokenReferenceType secRef)
                                 throws ProcessingException
Throws:
ProcessingException

PicketLink Federation Core 2.1.6.Final-redhat-2

Copyright © 2013 JBoss by Red Hat. All Rights Reserved.