com.sun.identity.saml.plugins
Interface  AccountMapper
- public interface AccountMapper
The class AccountMapper is an interface
 that is implemented to map partner account to user account
 in Sun Java System Access Manager.  
 
 Different partner would need to have a different implementation
 of the interface. The mappings between the partner source ID and 
 the implementation class are configured at the Partner URLs 
 field in SAML service.
| Field Summary | 
| static java.lang.String | NAMEKey to hold user DN in returned map
 | 
| static java.lang.String | ORGKey to hold organization DN in returned map
 | 
 
| Method Summary | 
|  java.util.Map | getUser(Subject subject,
        java.lang.String sourceID)Return user account in Sun Java System Access Manager to which the subject
 is mapped.
 | 
 
NAME
public static final java.lang.String NAME
- Key to hold user DN in returned map
ORG
public static final java.lang.String ORG
- Key to hold organization DN in returned map
getUser
public java.util.Map getUser(Subject subject,
                             java.lang.String sourceID)
- Return user account in Sun Java System Access Manager to which the subject
 is mapped.
 The returned Map is subject to changes per SAML specification.- 
- Parameters:
- subject- Subject to be mapped
- sourceID- source ID for the site from which the subject originated.
- Returns:
- Map which contains NAMEandORGkeys,
         value of theNAMEkey is the user DN, value of thesORGis the user organization  DN. Return empty map
         if the mapped user could not be obtained from the subject.
 
Copyright 2005 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.