public class OAuthAuthorizationData extends OAuthRedirectionState implements Serializable
Constructor and Description |
---|
OAuthAuthorizationData() |
Modifier and Type | Method and Description |
---|---|
List<OAuthPermission> |
getAllPermissions() |
List<OAuthPermission> |
getAlreadyAuthorizedPermissions()
Get the list of scopes already approved by a user
|
List<String> |
getAlreadyAuthorizedPermissionsAsStrings() |
List<String> |
getApplicationCertificates() |
String |
getApplicationDescription()
Get the application description
|
String |
getApplicationLogoUri()
Get the application logo URI
|
String |
getApplicationName()
Get the client application name
|
String |
getApplicationWebUri()
Get the application web URI
|
String |
getAuthenticityToken()
Get the authenticity token linking the authorization
challenge to the current end user session
|
String |
getEndUserName() |
Map<String,String> |
getExtraApplicationProperties() |
List<OAuthPermission> |
getPermissions()
Get the list of scopes translated to
Permission instances
requested by the client application |
List<String> |
getPermissionsAsStrings() |
String |
getPreauthorizedTokenKey() |
String |
getReplyTo()
Get the absolute URI where the authorization decision data
will need to be sent to
|
boolean |
isApplicationRegisteredDynamically() |
boolean |
isHidePreauthorizedScopesInForm() |
boolean |
isImplicitFlow() |
boolean |
isSupportSinglePageApplications() |
void |
setAlreadyAuthorizedPermissions(List<OAuthPermission> perms)
Set the list of scopes already approved by a user
|
void |
setApplicationCertificates(List<String> applicationCertificates) |
void |
setApplicationDescription(String applicationDescription)
Set the application description
|
void |
setApplicationLogoUri(String applicationLogoUri)
Set the application logo URI
|
void |
setApplicationName(String applicationName)
Set the client application name
|
void |
setApplicationRegisteredDynamically(boolean applicationRegisteredDynamically) |
void |
setApplicationWebUri(String applicationWebUri)
Set the application web URI
|
void |
setAuthenticityToken(String authenticityToken)
Set the authenticity token linking the authorization
challenge to the current end user session
|
void |
setEndUserName(String endUserName) |
void |
setExtraApplicationProperties(Map<String,String> extraApplicationProperties) |
void |
setHidePreauthorizedScopesInForm(boolean hidePreauthorizedScopesInForm) |
void |
setImplicitFlow(boolean implicitFlow) |
void |
setPermissions(List<OAuthPermission> permissions)
Set the list of scopes translated to
OAuthPermission instances |
void |
setPreauthorizedTokenKey(String preauthorizedTokenKey) |
void |
setReplyTo(String replyTo)
Set the absolute URI where the authorization decision data
will need to be sent to
|
void |
setSupportSinglePageApplications(boolean supportSinglePageApplications) |
getAudience, getClientCodeChallenge, getClientCodeChallengeMethod, getClientId, getExtraProperties, getNonce, getProposedScope, getRedirectUri, getResponseType, getState, setAudience, setClientCodeChallenge, setClientCodeChallengeMethod, setClientId, setExtraProperties, setNonce, setProposedScope, setRedirectUri, setResponseType, setState
public String getApplicationName()
public void setApplicationName(String applicationName)
applicationName
- application namepublic List<OAuthPermission> getPermissions()
Permission
instances
requested by the client applicationpublic void setPermissions(List<OAuthPermission> permissions)
OAuthPermission
instancespublic List<OAuthPermission> getAlreadyAuthorizedPermissions()
public void setAlreadyAuthorizedPermissions(List<OAuthPermission> perms)
perms
- the list of approved scopespublic void setAuthenticityToken(String authenticityToken)
authenticityToken
- the session authenticity tokenpublic String getAuthenticityToken()
public void setApplicationDescription(String applicationDescription)
applicationDescription
- the descriptionpublic String getApplicationDescription()
public void setApplicationWebUri(String applicationWebUri)
applicationWebUri
- the application URIpublic String getApplicationWebUri()
public void setApplicationLogoUri(String applicationLogoUri)
applicationLogoUri
- the logo URIpublic String getApplicationLogoUri()
public void setReplyTo(String replyTo)
replyTo
- authorization decision handler URIpublic String getReplyTo()
public void setExtraApplicationProperties(Map<String,String> extraApplicationProperties)
public String getEndUserName()
public void setEndUserName(String endUserName)
public void setApplicationCertificates(List<String> applicationCertificates)
public boolean isImplicitFlow()
public void setImplicitFlow(boolean implicitFlow)
public boolean isHidePreauthorizedScopesInForm()
public void setHidePreauthorizedScopesInForm(boolean hidePreauthorizedScopesInForm)
public List<String> getAlreadyAuthorizedPermissionsAsStrings()
public List<OAuthPermission> getAllPermissions()
public boolean isApplicationRegisteredDynamically()
public void setApplicationRegisteredDynamically(boolean applicationRegisteredDynamically)
public boolean isSupportSinglePageApplications()
public void setSupportSinglePageApplications(boolean supportSinglePageApplications)
public void setPreauthorizedTokenKey(String preauthorizedTokenKey)
public String getPreauthorizedTokenKey()
Apache CXF