de.fzj.unicore.uas.security
Class UASDSigDecider

java.lang.Object
  extended by de.fzj.unicore.uas.security.UASDSigDecider
All Implemented Interfaces:
eu.unicore.security.xfireutil.DSigDecider

public class UASDSigDecider
extends java.lang.Object
implements eu.unicore.security.xfireutil.DSigDecider

This class can work in two modes. In 'out' mode it decides whether outgoing messages should be signed or not. In the 'in' mode it decides whether we will verify dsig of the message. Note that in this case if we want to verify a signature and it is not present the actual check must be done in UAS code, as secutils won't deny a message (so 'in' mode is a hint).

Author:
golbi

Field Summary
static java.lang.String DO_NOT_SIGN
           
 
Constructor Summary
UASDSigDecider(boolean inMode)
           
 
Method Summary
 boolean isMessageDSigCandidate(org.codehaus.xfire.MessageContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DO_NOT_SIGN

public static final java.lang.String DO_NOT_SIGN
Constructor Detail

UASDSigDecider

public UASDSigDecider(boolean inMode)
Method Detail

isMessageDSigCandidate

public boolean isMessageDSigCandidate(org.codehaus.xfire.MessageContext ctx)
Specified by:
isMessageDSigCandidate in interface eu.unicore.security.xfireutil.DSigDecider


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