com.force.sdk.oauth
Class ForceUserPrincipal
java.lang.Object
com.force.sdk.oauth.ForceUserPrincipal
- All Implemented Interfaces:
- Serializable, Principal
public class ForceUserPrincipal
- extends Object
- implements Principal, Serializable
A security principal that represents a Force.com user.
- Author:
- Fiaz Hossain
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ForceUserPrincipal
public ForceUserPrincipal(String name,
String sessionId)
- Create a ForceUserPrincipal with this name and session id.
- Parameters:
name
- StringsessionId
- String
getName
public String getName()
- Specified by:
getName
in interface Principal
getSessionId
public String getSessionId()
Copyright © 2011. All Rights Reserved.