|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SecurityContext
Interface to represent the standard fields stored when a user is authenticated. After authentication the security context is stored and made available to the thread processing the user's request. See @doclink force-security for more information.
Method Summary | |
---|---|
String |
getEndPoint()
Gets the endPoint. |
SecurityContext |
getForceSecurityContext()
Gets the forceSecurityContext. |
String |
getLanguage()
Gets the language. |
String |
getLocale()
Gets the locale. |
String |
getOrgId()
Gets the orgId. |
String |
getRefreshToken()
Gets the refreshToken. |
String |
getRole()
Gets the role. |
String |
getSessionId()
Gets the sessionId. |
String |
getTimeZone()
Gets the timeZone. |
String |
getUserId()
Gets the userId. |
String |
getUserName()
Gets the userName. |
void |
init(com.sforce.soap.partner.GetUserInfoResult userInfo)
Initialize the security context from a GetUserInfoResult object. |
void |
setEndPoint(String endPoint)
Sets the endPoint. |
void |
setLanguage(String language)
Sets the language. |
void |
setLocale(String locale)
Sets the locale. |
void |
setOrgId(String orgId)
Sets the orgid. |
void |
setRefreshToken(String refreshToken)
Sets the refreshToken. |
void |
setRole(String role)
Sets the role. |
void |
setSessionId(String sessionId)
Sets the sessionId. |
void |
setTimeZone(String timeZone)
Sets the timeZone. |
void |
setUserId(String userId)
Sets the userId. |
void |
setUserName(String userName)
Sets the userName. |
Method Detail |
---|
void init(com.sforce.soap.partner.GetUserInfoResult userInfo)
userInfo
- GetUserInfoResultvoid setOrgId(String orgId)
orgId
- StringString getOrgId()
void setUserId(String userId)
userId
- StringString getUserId()
void setEndPoint(String endPoint)
endPoint
- StringString getEndPoint()
void setSessionId(String sessionId)
sessionId
- StringString getSessionId()
void setRefreshToken(String refreshToken)
refreshToken
- StringString getRefreshToken()
void setUserName(String userName)
userName
- StringString getUserName()
void setLanguage(String language)
language
- StringString getLanguage()
void setLocale(String locale)
locale
- StringString getLocale()
void setTimeZone(String timeZone)
timeZone
- StringString getTimeZone()
void setRole(String role)
role
- StringString getRole()
SecurityContext getForceSecurityContext()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |