com.sun.identity.saml.plugins
Interface AccountMapper


Deprecated. This class has been deprecated. Please use PartnerAccountMapper instead.

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.

See Also:
PartnerAccountMapper

Field Summary
static java.lang.String NAME
          Deprecated. Key to hold user DN in returned map
static java.lang.String ORG
          Deprecated. Key to hold organization DN in returned map
 
Method Summary
 java.util.Map getUser(Subject subject, java.lang.String sourceID)
          Deprecated. Return user account in Sun Java System Access Manager to which the subject is mapped.
 

Field Detail

NAME

public static final java.lang.String NAME
Deprecated. 
Key to hold user DN in returned map

See Also:
Constant Field Values

ORG

public static final java.lang.String ORG
Deprecated. 
Key to hold organization DN in returned map

See Also:
Constant Field Values
Method Detail

getUser

public java.util.Map getUser(Subject subject,
                             java.lang.String sourceID)
Deprecated. 
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 NAME and ORG keys, value of the NAME key is the user DN, value of thes ORG is the user organization DN. Return empty map if the mapped user could not be obtained from the subject.


Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.