public class SessionUtilsWrapper extends Object
SessionUtils
to avoid calls to static methods.Constructor and Description |
---|
SessionUtilsWrapper() |
Modifier and Type | Method and Description |
---|---|
void |
checkPermissionToSetProperty(SSOToken clientToken,
String key,
String value)
Helper method to check if owner of
clientToken has permission to protected session properties. |
public void checkPermissionToSetProperty(SSOToken clientToken, String key, String value) throws SessionException
clientToken
has permission to protected session properties.
In order for this operation to be permitted, clientToken
must be a valid SSOToken
belonging to an administrator.
Alternatively, if key
is not a protected property, then this check passes regardless of what
{code clientToken} is provided.
clientToken
- SSOToken of the client wishing to set a session property.key
- Name of the property the client wishes to set.value
- Value of the property the client wishes to set.SessionException
- if key identifies a protected property and clientToken
is not a valid admin SSOToken
.Copyright © 2010–2025 Open Identity Platform Community. All rights reserved.