public interface ProfileProvider
The interface to be implemented for interfacing with profile data present in external storage systems(e.g. CRM,LDAP, custom repositories). 'Interfacing' means querying for visitor data from these systems.
Modifier and Type | Method and Description |
---|---|
RawProfile |
getProfile(String dn) |
String |
getProviderName() |
List<RawProfile> |
search(String attribute, String value) |
void |
setProviderConfig(Properties config)
This is called by Visitor Service framework to populate configuration from optional field 'Configuration' in profile provider asset in Sites.
|
String getProviderName()
RawProfile getProfile(String dn)
dn
- - Value of an attribute that identifies a visitor in a profile storage. The attribute name for which value belong is known to profile provider through its configuration generally.RawProfile
of the user.List<RawProfile> search(String attribute, String value)
attribute
- - Name of attributevalue
- - value of attribute to be matched againstvoid setProviderConfig(Properties config)
config
- - Value from field 'Configuration' in profile provider asset in Sites.Copyright © 2015 Oracle and/or its affiliates. All rights reserved.