de.fzj.unicore.uas.security
Class SAMLVOMSSecurityOutHandler

java.lang.Object
  extended by org.codehaus.xfire.handler.AbstractHandler
      extended by de.fzj.unicore.uas.security.SAMLVOMSSecurityOutHandler
All Implemented Interfaces:
SecurityOutHandler, org.codehaus.xfire.handler.Handler

public class SAMLVOMSSecurityOutHandler
extends org.codehaus.xfire.handler.AbstractHandler
implements SecurityOutHandler

SAML VOMS Security Out Handler

Author:
Morris Riedel

Field Summary
static org.jdom.Namespace SAML2_NS
           
protected  IUASSecurityProperties sec
           
static java.lang.String VOMS_ASSERTION
           
static java.lang.String VOMS_ASSERTION_FILE
           
static org.jdom.Namespace WSSE_NS
           
 
Fields inherited from interface org.codehaus.xfire.handler.Handler
ROLE
 
Constructor Summary
SAMLVOMSSecurityOutHandler()
           
 
Method Summary
 void doInit(IUASSecurityProperties sec)
          Get the active SAML VOMS assertion out of security properties.
 void invoke(org.codehaus.xfire.MessageContext context)
          Adding the SAML VOMS assertion into the SOAP header.
 
Methods inherited from class org.codehaus.xfire.handler.AbstractHandler
after, before, getAfter, getBefore, getPhase, getRoles, getUnderstoodHeaders, handleFault, setAfter, setBefore, setPhase
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WSSE_NS

public static final org.jdom.Namespace WSSE_NS

SAML2_NS

public static final org.jdom.Namespace SAML2_NS

sec

protected IUASSecurityProperties sec

VOMS_ASSERTION

public static final java.lang.String VOMS_ASSERTION
See Also:
Constant Field Values

VOMS_ASSERTION_FILE

public static final java.lang.String VOMS_ASSERTION_FILE
See Also:
Constant Field Values
Constructor Detail

SAMLVOMSSecurityOutHandler

public SAMLVOMSSecurityOutHandler()
Method Detail

doInit

public void doInit(IUASSecurityProperties sec)
Get the active SAML VOMS assertion out of security properties. Prepares a JDOM element to be inserted during invocation.

Specified by:
doInit in interface SecurityOutHandler

invoke

public void invoke(org.codehaus.xfire.MessageContext context)
            throws java.lang.Exception
Adding the SAML VOMS assertion into the SOAP header.

Specified by:
invoke in interface org.codehaus.xfire.handler.Handler
Throws:
java.lang.Exception


Copyright © 2006-2010 Research Center Juelich. All Rights Reserved.