xsul.dsig.saml.authorization
Class CapabilityEnforcer

java.lang.Object
  extended byxsul.dsig.saml.authorization.CapabilityEnforcer

public class CapabilityEnforcer
extends java.lang.Object

CapabilityEnforcer is for enforcing the capability policy by inserting the corresponding assertions into a SOAP message header. It usually runs at the user's side.

Author:
Liang Fang [lifang@cs.indiana.edu] $Id: CapabilityEnforcer.java,v 1.17 2005/03/09 02:56:35 lifang Exp $

Method Summary
 XmlDocument addCapability(XmlDocument envelope)
           
 boolean isClientsideEnabled()
           
static CapabilityEnforcer newInstance(Capability _cap, java.lang.String _subject)
           
 void setClientsideEnabled(boolean clientsideEnabled)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newInstance

public static CapabilityEnforcer newInstance(Capability _cap,
                                             java.lang.String _subject)
                                      throws CapabilityException
Throws:
CapabilityException

setClientsideEnabled

public void setClientsideEnabled(boolean clientsideEnabled)

isClientsideEnabled

public boolean isClientsideEnabled()

addCapability

public XmlDocument addCapability(XmlDocument envelope)
                          throws CapabilityException
Throws:
CapabilityException


IU Extreme! Lab (http://www.extreme.indiana.edu)