org.gridbus.broker.farming.common.security
Class UserCredential

java.lang.Object
  |
  +--org.gridbus.broker.farming.common.security.UserCredential
Direct Known Subclasses:
KeyStoreCredential, ProxyCredential, SimpleCredential

public class UserCredential
extends java.lang.Object

Author:
krishna

Field Summary
static int KEYSTORE
          Keystore file and password
static int PROXYCERT
          x.509 Proxy certificate
static int SIMPLE_AUTH
          Simple authentication, with a username/password pair
 
Constructor Summary
UserCredential()
           
 
Method Summary
 java.lang.String getId()
           
 int getType()
           
 void setId(java.lang.String id)
           
 void setType(int type)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SIMPLE_AUTH

public static final int SIMPLE_AUTH
Simple authentication, with a username/password pair

See Also:
Constant Field Values

PROXYCERT

public static final int PROXYCERT
x.509 Proxy certificate

See Also:
Constant Field Values

KEYSTORE

public static final int KEYSTORE
Keystore file and password

See Also:
Constant Field Values
Constructor Detail

UserCredential

public UserCredential()
Method Detail

getId

public java.lang.String getId()
Returns:
Returns the id.

setId

public void setId(java.lang.String id)
Parameters:
id - The id to set.

getType

public int getType()
Returns:
Returns the type.

setType

public void setType(int type)
Parameters:
type - The type to set.