Search the Knowledgebase |
Browse by Category |
|
|
|
|
|
| NSD1041 Create a URL link to an object |
|
Article Details
Last Updated 31st o January, 2008
|
|
Thank you for rating this answer.
|
Fact
Creating an URL link to an user or any object
Situation
Creating a URL link to an object is not an out of the box feature of NordicEdge Identity Manager version 3 It can hower be easily created with a simple filter
Description The objects DN must be both Base64 and URL encoded before putting into the URL. This can be done by calling the method:
B64andURLencodeString in the class se.nordicedge.servlets.NEIDMgmtUtils. Put the encoded link in the parameter browseToAndOpenDN then use the parameter action=browseFrame, example: https://www.myneimmachine.com/nordicedge/NEIDMgmt?action=browseFrame&browseToAndOpenDN=aswq1wed22s2s2s
Example of the filter:
/** * Generate URL to the an Object DN * @param host The im host name * @param isSSL If https is being used * @param webApp The tomcat webapp name (usually nordicedge) * @param objectDN The DN to encode * @return the full URL */ public String getURLToObjectDN(String host, boolean isSSL, String webApp, String objectDN){ String url="http://"; if(isSSL) url="https://"; url=url+host+"/"+webApp+"/NEIDMgmt?action=browseFrame&browseToAndOpenDN="; se.nordicedge.servlets.NEIDMgmtUtils encoder = new se.nordicedge.servlets.NEIDMgmtUtils(); objectDN=encoder.B64andURLencodeString(objectDN, false); return url+objectDN; }
Disclaimer
The Origin of this information may be internal or
external to NordicEdge. NordicEdge makes all reasonable efforts to verify this
information. However, the information provided in this document is for your
information only. NordicEdge makes no explicit or implied claims to the
validity of this information.
Any trademarks referenced in this document are the property of their respective
owners. Consult your product manuals for
complete trademark information.
|
| Visitor Comments |
|
No visitor comments posted. Post a comment
|
| Related Articles |
|
No related articles were found.
|
| Attachments |
|
No attachments were found.
|