@Entity public class AuthorizationRequest extends AbstractEntity
| Constructor and Description |
|---|
AuthorizationRequest() |
AuthorizationRequest(String responseType,
String clientId,
String redirectUri,
List<String> requestedScopes,
String state,
String authState) |
| Modifier and Type | Method and Description |
|---|---|
void |
decodePrincipal() |
void |
encodePrincipal() |
String |
getAuthorizationCode() |
String |
getAuthState() |
Client |
getClient() |
String |
getClientId() |
String |
getEncodedPrincipal() |
List<String> |
getGrantedScopes() |
AuthenticatedPrincipal |
getPrincipal() |
String |
getRedirectUri() |
List<String> |
getRequestedScopes() |
String |
getResponseType() |
String |
getState() |
void |
setAuthorizationCode(String authorizationCode) |
void |
setAuthState(String authState) |
void |
setClient(Client client) |
void |
setClientId(String clientId) |
void |
setGrantedScopes(List<String> grantedScopes) |
void |
setPrincipal(AuthenticatedPrincipal principal) |
void |
setRedirectUri(String redirectUri) |
void |
setRequestedScopes(List<String> requestedScopes) |
void |
setResponseType(String responseType) |
void |
setState(String state) |
boolean |
validate(javax.validation.ConstraintValidatorContext context)
Template method that validates the state of an
AbstractEntity. |
equals, getCreationDate, getId, getModificationDate, hashCode, setId, toString, updateTimeStamps, violationpublic void encodePrincipal()
public void decodePrincipal()
public String getResponseType()
public void setResponseType(String responseType)
responseType - the responseType to setpublic String getClientId()
public void setClientId(String clientId)
clientId - the clientId to setpublic String getRedirectUri()
public void setRedirectUri(String redirectUri)
redirectUri - the redirectUri to setpublic void setRequestedScopes(List<String> requestedScopes)
requestedScopes - the requestedScopes to setpublic void setGrantedScopes(List<String> grantedScopes)
grantedScopes - the grantedScopes to setpublic String getState()
public void setState(String state)
state - the state to setpublic String getAuthState()
public void setAuthState(String authState)
authState - the authState to setpublic Client getClient()
public void setClient(Client client)
client - the client to setpublic String getAuthorizationCode()
public void setAuthorizationCode(String authorizationCode)
authorizationCode - the authorizationCode to setpublic AuthenticatedPrincipal getPrincipal()
public void setPrincipal(AuthenticatedPrincipal principal)
principal - the principal to setpublic String getEncodedPrincipal()
public boolean validate(javax.validation.ConstraintValidatorContext context)
AbstractEntityAbstractEntity. Can
be used prior to saving/ updating the AbstractEntityvalidate in class AbstractEntitycontext - the ConstraintValidatorContextCopyright © 2012–2013 SURFnet bv, The Netherlands. All rights reserved.