uk.ac.soton.itinnovation.grid.client.helpers
Class KrbIdentityProvider

java.lang.Object
  extended by uk.ac.soton.itinnovation.grid.client.helpers.KrbIdentityProvider
All Implemented Interfaces:
IdentityProvider

public class KrbIdentityProvider
extends Object
implements IdentityProvider

Author:
bmn

Constructor Summary
KrbIdentityProvider(String confPath, CertificateTrustValidator certValidator)
          Creates a new instance of KrbIdentityProvider
 
Method Summary
 Identity getIdentity()
          Get identity to use to sign a SOAP message.
 void setKestorePwd(String pwd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrbIdentityProvider

public KrbIdentityProvider(String confPath,
                           CertificateTrustValidator certValidator)
Creates a new instance of KrbIdentityProvider

Parameters:
confPath - the folder on the classpath containing kerberos config set
certValidator - validator for https connections
Method Detail

setKestorePwd

public void setKestorePwd(String pwd)

getIdentity

public Identity getIdentity()
                     throws RemoteException,
                            UserAbort
Description copied from interface: IdentityProvider
Get identity to use to sign a SOAP message. This is used by the InvocationEngine each time a SOAP message is sent. Implementations should therefore normally cache the result.

Specified by:
getIdentity in interface IdentityProvider
Returns:
the identity to be used
Throws:
UserAbort - if the user cancelled the operation
RemoteException


Copyright © 2001-2008 University of Southampton IT Innovation Centre. All Rights Reserved.