com.gridsystems.innergrid.api
Class X509CertificateCredentials

java.lang.Object
  extended by com.gridsystems.innergrid.api.X509CertificateCredentials
All Implemented Interfaces:
Credentials

public class X509CertificateCredentials
extends java.lang.Object
implements Credentials

Implementation of the credentials for X509Certificate authentication.

Version:
1.0

Constructor Summary
X509CertificateCredentials(java.lang.String cryptoPropertiesPath)
           
 
Method Summary
 java.lang.String getUserName()
          Gets the user name.
 void setup(javax.xml.rpc.Stub stub)
          Configures the specified remote stub to use these credentials.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

X509CertificateCredentials

public X509CertificateCredentials(java.lang.String cryptoPropertiesPath)
Parameters:
cryptoPropertiesPath - path to the properties file
Method Detail

getUserName

public java.lang.String getUserName()
Gets the user name.

Specified by:
getUserName in interface Credentials
Returns:
a string with the user name

setup

public void setup(javax.xml.rpc.Stub stub)
Configures the specified remote stub to use these credentials.

Specified by:
setup in interface Credentials
Parameters:
stub - the stub to configure


Copyright © 2007-2008 Grid Systems, S.A.. All Rights Reserved.