public class RestrictedTokenHelper extends Object
Constructor and Description |
---|
RestrictedTokenHelper() |
Modifier and Type | Method and Description |
---|---|
static boolean |
isRestricted(SSOToken token)
Returns true if the SSOToken is restricted, false otherwise
|
static SSOToken |
resolveRestrictedToken(String sid,
Object context)
Create a restricted token for the given context
|
public static SSOToken resolveRestrictedToken(String sid, Object context) throws Exception
sid
- restricted tokenIDcontext
- check the restriction for the given contextException
- if there was an errorpublic static boolean isRestricted(SSOToken token) throws SSOException
token
- SSOToken to be checked for the presence of restriction
propertySSOException
- is thrown if the there was an errorCopyright © 2010–2025 Open Identity Platform Community. All rights reserved.