활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
I have integrated a Google OAuth2 provider with AEM 6.5 OAuth authentication handler. There is a method named getUserFolderPath in Provider interface which should be used to get the folder path under which the user should be created. I noticed that this method is never been called and instead "user.pathPrefix" property is used to get the folder path which automatically appends the first 4 chars of the user ID internally.
I am not able to get the need of Sync handler for OAuth and how can I change the folder path as per my requirements? What is the need of getUserFolderPath in Provider interface?
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
This getUserFolderPath method returns the node path where the user should be created:
String getUserFolderPath(String userId, String clientId, Map<String,Object> props)
Parameters: userId - clientId - in use when creating this user props - map of all provider's properties for this user Returns: relative path to store this user within /home/users (e.g. "facebook/1234" might be appropriate for facebook user with id=12345678)
This getUserFolderPath method returns the node path where the user should be created:
String getUserFolderPath(String userId, String clientId, Map<String,Object> props)
Parameters: userId - clientId - in use when creating this user props - map of all provider's properties for this user Returns: relative path to store this user within /home/users (e.g. "facebook/1234" might be appropriate for facebook user with id=12345678)
조회 수
답글
좋아요 수