posted 19 years ago
1) Typically, what MUST be done to the PortletService reference prior to using?
A. Use the reference to create the service.
B. Use the reference to locate the service factory.
C. Cast the reference to a different interface type.
D. Register with the service.
I saw that the answer which was posted in this forum is "A".
But i was thinking of "D" (Reason : I think the Q is asked from the view of various steps in accessing).
2) A customer has an old web application that uses a proprietary user database. The customer wants to integrate the web application into a portlet so that users have a single signon experience. It would be possible to leverage the CredentialVaultService and provide the desired true single signon experience ONLY if:
A. the backend Web Application supports BASIC Authentication.
B. an existing Credential Object type such as HttpBasicAuth can be used or specially coded.
C. the backend Web Application supports Trust Association Interceptor (TAI).
D. the LDAP database were extended with fields that contain a copy of the username and password of the Web Application.
Ans) B (How?)
3)Which methods are added to the portlet lifecycle when a PortletPageListener interface and a PortletSessionListener interface are added?
A. initListener(), destroyListener(), beginPage(), endPage()
B.login(), logout(), beginPage(), endPage(), service()
C. login(), logout(), beginPage(), endPage(), initListener(), destroyListener(), service()
D. beginPage(), endPage(), service()
E. login(), logout(), beginPage(), endPage()
Ans B (Is this right ?)
4)Which of the following are NOT found within a portlet deployment descriptor? (Select 2)
A. Web application characteristics of the portlet application
B. Portlet application characteristics which the portal server should support
C. App name for the portlet
D. Portlet URL mappings
E. Portlet version information
Ans : A and D (Is this right?)
Correct me if i am wrong.
[ March 29, 2005: Message edited by: Ravi Nistala ]
[ April 02, 2005: Message edited by: Ravi Nistala ]