Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Logout user session remotely

Avatar

Avatar
Validate 1
Level 2
gowrishankarp21
Level 2

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
gowrishankarp21
Level 2

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile
gowrishankarp21
Level 2

27-08-2019

Hi,

We have a active AEM browser user session(this session is using the login-token cookie),

Now need to make that session inactive from a remote system by using a servlet call.

Please let us know is there any mechanism available in AEM to logout active sessions of a particular user or is there any other way to achieve it.

Replies

Avatar

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

102 likes

Total Posts

240 posts

Correct Reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile

Avatar
Contributor
Employee
hamidk92094312
Employee

Likes

102 likes

Total Posts

240 posts

Correct Reply

38 solutions
Top badges earned
Contributor
Shape 1
Ignite 1
Give Back 50
Give Back 5
View profile
hamidk92094312
Employee

27-08-2019

The same question has been answered here. Its specific to older version but the same principle should apply:

how to handle user session in cq5

Avatar

Avatar
Coach
Employee
jbrar
Employee

Likes

385 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile

Avatar
Coach
Employee
jbrar
Employee

Likes

385 likes

Total Posts

869 posts

Correct Reply

283 solutions
Top badges earned
Coach
Establish
Give Back 50
Give Back 5
Give Back 3
View profile
jbrar
Employee

27-08-2019

In addition to what Hamid mentioned, you can try to use a CURL command to clear tokens from "http://<host>:<port>/system/console/tokenmgr"

Avatar

Avatar
Validate 1
Level 2
gowrishankarp21
Level 2

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile

Avatar
Validate 1
Level 2
gowrishankarp21
Level 2

Likes

2 likes

Total Posts

9 posts

Correct Reply

1 solution
Top badges earned
Validate 1
Ignite 1
Give Back
Boost 1
Affirm 1
View profile
gowrishankarp21
Level 2

27-08-2019

Hi Jaideep,

My servlet session is different from the session which is serving the user.

I m trying to achieve the same from my servlet "clear tokens from "http://<host>:<port>/system/console/tokenmgr".

Do you have any inputs on how achieve the same via code.