|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
java.lang.String |
getLoginToken()
Returns the user’s login token from the request. |
java.net.URL |
getRemoteAPIEndpoint()
Returns the remote API endpoint from the portal request. |
Method Detail |
public java.lang.String getLoginToken() throws NotInRequestException
IRemoteSession
object,
use IPortletContext.getRemotePortalSession()
.
Note: The login token is new functionality in portal version 5.0; this method throws
ProtocolNotSupportedException
when used with any prior version of the portal.
NotGatewayedException
- if the request is not gatewayed
ProtocolNotSupportedException
- if used with a version of the portal earlier than 5.0
NotInRequestException
- if the administrator has not configured the portal to send the
login token to this portletpublic java.net.URL getRemoteAPIEndpoint()
IRemoteSession
object,
use IPortletContext.getRemotePortalSession()
.
Note: The remote API endpoint is new functionality in portal version 5.0; this method throws
ProtocolNotSupportedException
when used with any prior version of the portal.
NotGatewayedException
- if the request is not gatewayed
ProtocolNotSupportedException
- if used with a version of the portal earlier than 5.0
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright ©2010 Oracle® Corporation. All Rights Reserved.