soaprmi.soaprpc
Class SecureSoapServices

java.lang.Object
  extended bysoaprmi.server.Services
      extended bysoaprmi.soaprpc.SecureSoapServices

public abstract class SecureSoapServices
extends Services

Define entry points to decure SOAP web services.

Version:
$Revision: 1.12 $
Author:
Aleksander Slominski

Field Summary
static java.lang.String SOAPRMI_SECURITY_PROVIDERS
           
 
Fields inherited from class soaprmi.server.Services
GUIDrandom
 
Method Summary
 RemoteRef createStartpoint(Port port)
           
static SecureSoapServices getDefault()
           
static SecureSoapServices getDefault(java.lang.String securityServicesName)
           
static SecureSoapServices newInstance(int port)
           
static SecureSoapServices newInstance(java.lang.String securityServicesName)
           
static SecureSoapServices newInstance(java.lang.String securityServicesName, int port)
           
static void setDefault(java.lang.String securityProviders)
          Set default secure soap services to use.
abstract  void setDelegation(boolean delegationEnabled, boolean doDelegation, boolean doLimitedDelegation)
           
abstract  boolean supportsDelegation()
           
 
Methods inherited from class soaprmi.server.Services
addDefaultDispatcher, addDispatcher, addInvoker, createGUID, createPort, createPort, createStartpoint, createStartpoint, createStartpoint, createStartpoint, createStartpointFromXml, dispatchersSize, getConnectionContext, getMapping, getPorts, getStartpointLocation, getStartpointLocationPort, getStartpointXml, loadStartpoint, saveStartpoint, setDispatcher, setInvoker, setMapping, setStartpointLocation, wrapService
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOAPRMI_SECURITY_PROVIDERS

public static final java.lang.String SOAPRMI_SECURITY_PROVIDERS
See Also:
Constant Field Values
Method Detail

setDefault

public static void setDefault(java.lang.String securityProviders)
                       throws RemoteException
Set default secure soap services to use.

Parameters:
securityProviders - comma separated list of security providers to try. Security providers will be tested in list order and first that was successfully loaded will be used. To successfully load secure service of NAME following class must be on CLASSPATH: soaprmi.security.NAME.SecureSoapServeices and it must extend this SecureSoapServices, be non abstract (implement all abstract medod) and needs to have public static synchronized SecureSoapServices getDefault() method. If null passed than hardcoded default will be used (ie. CoG).
Throws:
RemoteException

getDefault

public static SecureSoapServices getDefault()
                                     throws RemoteException
Throws:
RemoteException

newInstance

public static SecureSoapServices newInstance(int port)
                                      throws RemoteException
Throws:
RemoteException

getDefault

public static SecureSoapServices getDefault(java.lang.String securityServicesName)
                                     throws RemoteException
Throws:
RemoteException

newInstance

public static SecureSoapServices newInstance(java.lang.String securityServicesName,
                                             int port)
                                      throws RemoteException
Throws:
RemoteException

newInstance

public static SecureSoapServices newInstance(java.lang.String securityServicesName)
                                      throws RemoteException
Throws:
RemoteException

createStartpoint

public RemoteRef createStartpoint(Port port)
                           throws RemoteException
Overrides:
createStartpoint in class Services
Throws:
RemoteException

supportsDelegation

public abstract boolean supportsDelegation()

setDelegation

public abstract void setDelegation(boolean delegationEnabled,
                                   boolean doDelegation,
                                   boolean doLimitedDelegation)
                            throws RemoteException
Throws:
RemoteException


Copyright (c) 2004 IU Extreme! Lab http://www.extreme.indiana.edu/ All Rights Reserved.