public class Permission extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Permission.code_challenge_methods |
| Modifier and Type | Field and Description |
|---|---|
Long |
a |
Long |
ac |
static access_token_SSOTokenListener |
acListener |
Set<String> |
acr_values |
access_type |
act |
String[] |
amr |
String |
appName |
String |
aud |
String |
bid |
String |
cid |
String |
code_challenge |
Permission.code_challenge_methods |
code_challenge_method |
String |
dn |
Long |
exp |
Integer |
level |
String |
lh |
static org.slf4j.Logger |
logger |
String |
modules |
String |
nonce |
String |
org |
Boolean |
p |
Map<String,String> |
props |
String |
ru |
ru.org.openam.auth.modules.adaptive.persistence.Session |
s |
Set<String> |
sc |
String |
service |
String |
st |
TreeMap<String,Set<String>> |
sub |
Boolean |
trust |
| Constructor and Description |
|---|
Permission() |
Permission(OAuth2Token lm) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(OAuth2Auth lm) |
static OAuth2Principal |
access_token(OAuth2Token lm) |
void |
auth(OAuth2Auth lm) |
static void |
filterScope(javax.servlet.http.HttpServletRequest request,
Map<String,?> resFromRepo) |
static Permission |
fromString(String data) |
String |
getApplication() |
static String |
getClientId(javax.servlet.http.HttpServletRequest request) |
static String |
getClientSecret(javax.servlet.http.HttpServletRequest request) |
Map<String,Object> |
getData(javax.servlet.http.HttpServletRequest request,
com.sun.identity.idm.AMIdentity current,
com.sun.identity.idm.AMIdentity master) |
com.sun.identity.idm.AMIdentity |
getIdentity() |
Map<String,Set<String>> |
getOAuth2AuthOptions() |
Set<String> |
getRestrictScope() |
Set<String> |
getRestrictScope(com.sun.identity.idm.AMIdentity identity) |
Set<String> |
getScope() |
static Set<String> |
getScopeSupported() |
ArrayList<String> |
getSubjects() |
Map<String,String> |
getSubjectsMap(boolean exactMatch) |
String |
getUid() |
URI |
getURIPrefix(javax.servlet.http.HttpServletRequest request) |
boolean |
ignoreAccept() |
Map<String,Object> |
setData(Map<String,Object> data,
javax.servlet.http.HttpServletRequest request,
com.sun.identity.idm.AMIdentity current,
com.sun.identity.idm.AMIdentity master) |
String |
sub() |
static String |
sub(Map<String,Set<String>> sub) |
String |
toString() |
public static org.slf4j.Logger logger
public Boolean p
public String ru
public String st
public String cid
public String aud
public String bid
public String org
public access_type act
public Boolean trust
public String dn
public ru.org.openam.auth.modules.adaptive.persistence.Session s
public String[] amr
public String lh
public String code_challenge
public Permission.code_challenge_methods code_challenge_method
public String appName
public String nonce
public String service
public String modules
public Integer level
public Long a
public Long exp
public static access_token_SSOTokenListener acListener
public Long ac
public Permission()
public Permission(OAuth2Token lm) throws invalid_request, unsupported_response_type, unauthorized_client, com.sun.identity.authentication.spi.AuthLoginException
invalid_requestunsupported_response_typeunauthorized_clientcom.sun.identity.authentication.spi.AuthLoginExceptionpublic String sub()
public String getUid()
public com.sun.identity.idm.AMIdentity getIdentity()
public Map<String,Object> setData(Map<String,Object> data, javax.servlet.http.HttpServletRequest request, com.sun.identity.idm.AMIdentity current, com.sun.identity.idm.AMIdentity master) throws com.sun.identity.idm.IdRepoException, com.iplanet.sso.SSOException
com.sun.identity.idm.IdRepoExceptioncom.iplanet.sso.SSOExceptionpublic static void filterScope(javax.servlet.http.HttpServletRequest request,
Map<String,?> resFromRepo)
public Map<String,Object> getData(javax.servlet.http.HttpServletRequest request, com.sun.identity.idm.AMIdentity current, com.sun.identity.idm.AMIdentity master) throws com.iplanet.sso.SSOException, com.sun.identity.idm.IdRepoException
com.iplanet.sso.SSOExceptioncom.sun.identity.idm.IdRepoExceptionpublic URI getURIPrefix(javax.servlet.http.HttpServletRequest request)
public void auth(OAuth2Auth lm) throws invalid_request, unsupported_response_type, unauthorized_client, com.sun.identity.authentication.spi.AuthLoginException
invalid_requestunsupported_response_typeunauthorized_clientcom.sun.identity.authentication.spi.AuthLoginExceptionpublic boolean ignoreAccept()
public void accept(OAuth2Auth lm) throws com.iplanet.sso.SSOException, com.sun.identity.authentication.spi.AuthLoginException, com.sun.identity.idm.IdRepoException
com.iplanet.sso.SSOExceptioncom.sun.identity.authentication.spi.AuthLoginExceptioncom.sun.identity.idm.IdRepoExceptionpublic String getApplication()
public static String getClientId(javax.servlet.http.HttpServletRequest request)
public static String getClientSecret(javax.servlet.http.HttpServletRequest request)
public static OAuth2Principal access_token(OAuth2Token lm) throws invalid_request, com.sun.identity.authentication.spi.AuthLoginException
invalid_requestcom.sun.identity.authentication.spi.AuthLoginExceptionpublic static Permission fromString(String data) throws IOException
IOExceptionCopyright © 2024. All rights reserved.