The /atg/userprofiling/ProfileServices
component (class atg.userprofiling.ProfileServices
) manages many of the Web service functions related to user profiling. Note that some of these functions mimic the behavior of standard Oracle Commerce Platform profile form handlers; this behavior is designed to help you reproduce any profile form handler custom code as extensions of out-of-the-box Web services.
The following list shows the properties of the ProfileServices
component.
transactionManager
Type:
javax.transaction.TransactionManager
The service that manages any transactions used to execute repository methods on this instance.
Default:
/atg/dynamo/transaction/TransactionManager
(set in DPS module)mappingManager
Type:
atg.repository.xml.ItemDescriptorMappingManager
The component that manages mapping files based on repository item descriptor name combinations. Any methods that return repository items consult this service to retrieve the mapping files to use when transforming these items into XML. Note that this behavior assumes the
useDefaultMappingFiles
property is set to true.Default:
/atg/repository/xml/ItemDescriptorMappingManager
(set in DPS module)xmlGetService
Type:
atg.repository.xml.GetService
The service that turns repository items into XML.
Default:
/atg/repository/xml/GetService
(set in DPS module)xmlAddService
Type:
atg.repository.xml.AddService
The service that adds repository items in XML format to a repository.
Default:
/atg/repository/xml/AddService
(set in DPS module)xmlUpdateService
Type:
atg.repository.xml.UpdateService
The service that takes repository items in XML format and updates them in their corresponding repositories.
Default:
/atg/repository/xml/UpdateService
(set in DPS module)profileTools
Type:
atg.userprofiling.ProfileTools
The profile tools service that provides access to common profiling functions, as well as access to other profile components such as the
PropertyManager
andProfileRepository
.Default:
/atg/userprofiling/ProfileTools
(set in DPS module)updateEventListeners
Type:
atg.userprofiling.ProfileUpdateListener[]
An array of
ProfileUpdateListeners
that are notified when a profile is updated. Note that thegenerateUpdateEvents
property must be set to true for this behavior to occur.Default:
/atg/userprofiling/ProfileUpdateTrigger
(set in DPS module)generateLoginEvents
Type: boolean
If true, the
LoginUser
Web service fires login events after a user has been successfully logged in.Default: true (set in DPS module)
generateUpdateEvents
Type: boolean
If true, the
UpdateUser
Web service fires update events after a user profile has been successfully updated.Default: true (set in DPS module)
generateRegisterEvents
Type: boolean
If true, the
CreateUser
Web service fires register events after a user profile has been successfully created.Default: true (set in DPS module)
generateLogoutEvents
Type: boolean
If true, the
logoutUser
service fires logout events after a user has been successfully logged out.Default: true (set in DPS module)
expireSessionOnLogout
Type: boolean
Behaves the same way as the
expiresSessionOnLogout
property in theProfileFormHandler
class. See the description of thehandleLogout
method in Profile Form Handlers.Default: true (set in DPS module)
usingLDAPProfile
Type: boolean
Behaves the same way as the
usingLDAPProfile
property in theProfileFormHandler
class. It indicates whether the profile in use is stored in an LDAP directory.Default: false (set in DPS module)
useDefaultMappings
Type: boolean
If true, methods that return
Repo2Xml
items map properties according to the default mappings configured in theItemDescriptorMappingManager
(unless the Web service calls a variation of a method that takes a mapping file location as an argument).Default: true (set in DPS module)
logoutProfileType
Type: String
Behaves the same way as the
logoutProfileType
property in theProfileFormHandler
class. It specifies the item descriptor type of the profile defaulted to when the current user logs out.Default:
user
(set in DPS module)createProfileType
Type: String
Behaves the same way as the
createProfileType
property in theProfileFormHandler
class. It specifies the item descriptor type of the profile created when a new profile is added to the repository.Default:
user
(set in DPS module)loginProfileType
Type: String
Behaves the same way as the
loginProfileType
property in theProfileFormHandler
class. It specifies the item descriptor type of the profile accessed when a user logs in.Default:
user
(set in DPS module)propertiesToCopyOnLogin
Type: String[]
Behaves the same way as the
propertiesToCopyOnLogin
property in theProfileFormHandler
class. It specifies the property values to copy from the anonymous profile to the persistent profile when a user logs in.Default: null (set in DPS module)
propertiesToAddOnLogin
Type: String[]
Behaves the same way as the
propertiesToAddOnLogin
property in theProfileFormHandler
class. It specifies the properties to add from the anonymous profile to the persistent profile when a user logs in.Default:
scenarioInstances
,slotInstances
(set in DSS module)maxAuthenticationWait
Type: long
Indicates how long a password encryption conversation is allowed to last, which is the length of time between calls to
getPasswordHashKey
andloginUser
. If the length of time between these two calls exceeds themaxAuthenticationWait
property value, the login is invalid. Note that this behavior assumes the login attempt is encrypted (in other words, thatpIsPasswordEncrypted
is true for theloginUser
call).Default: 30000 (30 seconds) (set in DPS module)
badPasswordDelay
Type: long
Behaves the same way as the
badPasswordDelay
property in theProfileFormHandler
class. It specifies the number of milliseconds to wait before proceeding after a user submits a password that fails authentication.Default: 1000 (1 second) (set in DPS module)
profilePath
Type: String
The component path of the
Profile
component.Default:
/atg/userprofiling/Profile
(set in DPS module)requestLocalePath
Type: String
The component path of the
RequestLocale
component.Default:
/atg/dynamo/servlet/RequestLocale
(set in DPS module)allowEncryptedPasswords
Type: boolean
If true, allows login attempts that use passwords encrypted on the client. Even if this property is true, the
canClientEncryptPasswords()
method still needs to return true to verify that the application itself can handle passwords encrypted in this way.Default: true (set in DPS module)