com.gridsystems.innergrid.api
Interface Credentials

All Known Implementing Classes:
UsernameTokenCredentials, X509CertificateCredentials

public interface Credentials

Manages the data credentials from client requests.

Implementations of this interface know how to set authentication information on a client stub, in order to authenticate the request according to a specific WSS authentication mechanism.

Version:
1.0
Author:
Rodrigo Ruiz
See Also:
DirectConnection

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.
 

Method Detail

getUserName

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

Returns:
a string with the user name

setup

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

Parameters:
stub - the stub to configure


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