" ... practice makes perfect "      - stellentpmp aka Andrew
stellentpmp.blogspot.comContent Server
Showing posts with label active directory. Show all posts
Showing posts with label active directory. Show all posts

Thursday, February 17, 2011

Credential Maps - Tips & Tricks

NOTE:  This post assumes you authenticate externally with Active Directory (AD), have a basic understanding of its schema and Security Groups (ADSGs), already have a working LDAP provider, and have a separate LDAP role/account prefix for each of your UCM instances.

Chances are that if you authenticate externally, you've tested your luck with credential maps.  I say "luck" because deciphering its syntax for the first time is akin to waiting in line to use the restroom:  frustratingly painful.  In a nutshell, credential maps are a part of the ProxyConnections8 component that allow you to link ADSGs (and their members) to Oracle UCM roles and/or accounts.

If you need a credential map that can link everything one-to-one:

ADSG
    
Role/Account
admin
  »  
admin
contributor
  »  
contributor
intern
  »  
intern
Corporate_R
  »  
Corporate(R)
ImageLibrary_RW
  »  
ImageLibrary(RW)


use the following:

#Maps all roles
|#all|,       %%

#Maps all accounts
@|#all|,    @%%

Note:  the #all term does not refer to an ADSG named #all; it is a reserved keyword to signify ALL ADSGs listed within the LDAP Role/Account Prefix OU.

As powerful as the above map is, it has one fundamental flaw:
It doesn't map the #none and #all accounts