| Package | Description |
|---|---|
| org.surfnet.oaaas.auth | |
| org.surfnet.oaaas.model | |
| org.surfnet.oaaas.noop | |
| org.surfnet.oaaas.repository | |
| org.surfnet.oaaas.resource |
| Modifier and Type | Method and Description |
|---|---|
Client |
AbstractUserConsentHandler.getClient(javax.servlet.ServletRequest request)
Get the Client from the request context to use in handling user consent
|
protected Client |
OAuth2ValidatorImpl.validateClient(AuthorizationRequest authorizationRequest) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
OAuth2ValidatorImpl.determineRedirectUri(AuthorizationRequest authorizationRequest,
String responseType,
Client client) |
protected List<String> |
OAuth2ValidatorImpl.determineScopes(AuthorizationRequest authorizationRequest,
Client client) |
abstract void |
AbstractUserConsentHandler.handleUserConsent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
String authStateValue,
String returnUri,
Client client)
Implement this method to perform the actual authentication.
|
| Modifier and Type | Method and Description |
|---|---|
Client |
AuthorizationRequest.getClient() |
Client |
AccessToken.getClient() |
| Modifier and Type | Method and Description |
|---|---|
Set<Client> |
ResourceServer.getClients() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
ResourceServer.containsClient(Client client) |
void |
AuthorizationRequest.setClient(Client client) |
void |
AccessToken.setClient(Client client) |
| Modifier and Type | Method and Description |
|---|---|
void |
ResourceServer.setClients(Set<Client> clients) |
| Constructor and Description |
|---|
AccessToken(String token,
AuthenticatedPrincipal principal,
Client client,
long expires,
List<String> scopes) |
AccessToken(String token,
AuthenticatedPrincipal principal,
Client client,
long expires,
List<String> scopes,
String refreshToken) |
| Modifier and Type | Method and Description |
|---|---|
void |
NoopUserConsentHandler.handleUserConsent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
javax.servlet.FilterChain chain,
String authStateValue,
String returnUri,
Client client) |
| Modifier and Type | Method and Description |
|---|---|
Client |
ClientRepository.findByClientId(String clientId) |
Client |
ClientRepository.findByIdAndResourceServer(Long id,
ResourceServer resourceServer) |
| Modifier and Type | Method and Description |
|---|---|
List<Client> |
ClientRepository.findByResourceServer(ResourceServer resourceServer) |
| Modifier and Type | Method and Description |
|---|---|
List<AccessToken> |
AccessTokenRepository.findByResourceOwnerIdAndClient(String resourceOwnerId,
Client client) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
ClientResource.generateClientId(Client client)
Method that generates a unique client id, taking into account existing clientIds in the backend.
|
javax.ws.rs.core.Response |
ClientResource.post(Client newOne,
Long id,
javax.servlet.http.HttpServletRequest request,
Long resourceServerId)
Update an existing client.
|
javax.ws.rs.core.Response |
ClientResource.put(javax.servlet.http.HttpServletRequest request,
Long resourceServerId,
Client client)
Save a new client.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
ResourceServerResource.pruneClientScopes(List<String> newScopes,
List<String> oldScopes,
Set<Client> clients)
Delete all scopes from clients that are not valid anymore with the new
resource server
|
Copyright © 2012 SURFnet bv, The Netherlands. All Rights Reserved.