Oracle® Application Server Portal Developer's Guide 10g Release 2 (10.1.4) B14135-03 |
|
![]() Previous |
![]() Next |
When developing portlet functionality that requires access to a user's identity, you often need to map between attributes in OracleAS Portal and Oracle Internet Directory, and userProfileItems
in WSRP. Note that for OracleAS Portal Release 2 (10.1.4), these attributes are static and cannot be configured. This appendix provides a table that shows the mapping between various attributes.
Table C-1 provides a mapping of userProfileItems
to Oracle Internet Directory and OracleAS Portal attributes.
Note: In cases where the Oracle Internet Directory attribute holds a complex string, likehomePostalAddress , it is parsed into the needed component strings. The delimiter is assumed to be the dollar sign ($) . For example, suppose you had the following value for homePostalAddress in Oracle Internet Directory:
123 Main St$$$Smallville$NY$10001 In the OracleAS Portal profile attributes, this string would be parsed as follows:
|
Table C-1 userProfileItems Mapping
OracleAS Portal Profile Attributes | Oracle Internet Directory Attributes | WSRP userProfileItems |
---|---|---|
FIRST_NAME |
givenName |
name/given |
LAST_NAME |
sn |
name/family |
MIDDLE_NAME |
middleName |
name/middle |
KNOWN_AS |
displayName |
name/nickname |
DATE_OF_BIRTH |
orclDateOfBirth |
bDate |
ORGANIZATION |
o |
employerInfo/employer |
TITLE |
title |
employerInfo/jobtitle |
HOME_ADDR1 |
homePostalAddress |
homeInfo/postal/name |
HOME_ADDR2 |
homeInfo/postal/street |
|
HOME_ADDR3 |
homeInfo/postal/organization |
|
HOME_CITY |
homeInfo/postal/city |
|
HOME_STATE |
homeInfo/postal/stateprov |
|
HOME_ZIP |
homeInfo/postal/postalcode |
|
HOME_COUNTRY |
homeInfo/postal/country |
|
HOME_PHONE |
homePhone |
homeInfo/telecom/telephone/number |
OFFICE_ADDR1 |
street |
businessInfo/postal/name |
OFFICE_ADDR2 |
businessInfo/postal/street |
|
OFFICE_ADDR3 |
businessInfo/postal/organization |
|
OFFICE_CITY |
l |
businessInfo/postal/city |
OFFICE_STATE |
st |
businessInfo/postal/stateprov |
OFFICE_ZIP |
postalCode |
businessInfo/postal/postalcode |
OFFICE_COUNTRY |
c |
businessInfo/postal/country |
WORK_PHONE |
telephoneNumber |
businessInfo/telecom/telephone/number |
FAX |
facsimileTelephoneNumber |
businessInfo/telecom/fax/number |
MOBILE_PHONE |
mobile |
businessInfo/telecom/mobile/number |
|
|
businessInfo/online/email |