활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
활동이 없어 이 대화는 잠겼습니다. 새 게시물을 작성해 주세요.
Hi All,
repository.loginAdministrative(null) is a deprecated method of obtaining a session instance. What would be an alternative that can be used here.
Any thoughts/pointers here, will be helpful.
해결되었습니다! 솔루션으로 이동.
조회 수
답글
좋아요 수
You should use Sling service resource resolver for getting session in
backend services. This is now recommended for getting sessions as it
restricts the access to the service code only on the required repository
paths unlike loginAdministrative which exposes full permissions to your
services. You can follow the below example-
https://helpx.adobe.com/
조회 수
답글
좋아요 수
조회 수
답글
좋아요 수
You should use Sling service resource resolver for getting session in
backend services. This is now recommended for getting sessions as it
restricts the access to the service code only on the required repository
paths unlike loginAdministrative which exposes full permissions to your
services. You can follow the below example-
https://helpx.adobe.com/
조회 수
답글
좋아요 수
Hi Kunal/Praveen,
Thank you for your replies.
조회 수
답글
좋아요 수
I need to unlock a page through code which is locked by another user.
Do i need to create a service user similar to admin user which can be used to impersonate and unlock resources? How can this be achieved?
조회 수
답글
좋아요 수