com.novell.zos.toolkit
Class CredentialFactory

java.lang.Object
  extended by com.novell.zos.toolkit.CredentialFactory

public class CredentialFactory
extends Object

Factory pattern used to create a Credential used for connection to a GMS server.


Method Summary
static Credential newPasswordCredential(String user, String passwd)
          Create a Credential to use for authentication to a GMS server.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

newPasswordCredential

public static Credential newPasswordCredential(String user,
                                               String passwd)
                                        throws GridException
Create a Credential to use for authentication to a GMS server.

Parameters:
user - User name for constructing Credential
passwd - User password for constructing Credential
Returns:
Credential to use in server communication
Throws:
GridException - if passed values are invalid


Copyright 2008 Novell, Inc. All Rights Reserved.