org.gridbus.broker.farming.common.security
Class UserCredential
java.lang.Object
org.gridbus.broker.farming.common.security.UserCredential
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- KeyStoreCredential, ProxyCredential, SimpleCredential
public class UserCredential
- extends java.lang.Object
- implements java.io.Serializable
- Author:
- krishna
- See Also:
- Serialized Form
|
Field Summary |
static int |
COMPOSITE
Composite credential consisting of other credentials |
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 |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
COMPOSITE
public static final int COMPOSITE
- Composite credential consisting of other credentials
- See Also:
- Constant Field Values
UserCredential
public UserCredential()
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.