I am using SSO in JBoss on IDP with Picketlink, don't have a lot of experience with enterprise java security, what I need to do is to force global log out for user on some event or timeout. For example user started form, but didn't feel it in 5 minutes - I want to force global log out from code.
Normally it's very easy to perform global log out, just adding "GLO=true" to URL for log out link and it's then catched by SSO Valve. But how can I call it from code when user is not connected with a browser?
Tried to view inside Picketlink code, while there is method createLogoutRequest inside SAML2Request I still don't understand what to do with it, how to send it, where to send it. Please advice.