Skip to content
This repository has been archived by the owner on Dec 12, 2018. It is now read-only.

Master without client api #1317

Open
wants to merge 24 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 22 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
9405c76
1297 - Improved MCF implementation when registration workflow is spec…
Feb 8, 2017
e585361
Merge pull request #1299 from stormpath/1297_MCF_second_time
Feb 8, 2017
e48549c
1297 - Improved IT
Feb 8, 2017
f57bae9
Changed poms to 1.5.4-SNAPSHOT
Feb 8, 2017
142d22b
[maven-release-plugin] prepare release stormpath-sdk-root-1.5.4
Feb 8, 2017
dfa03c4
[maven-release-plugin] prepare for next development iteration
Feb 8, 2017
af5850e
Added 1.5.4 to changelog
Feb 9, 2017
452971a
Remove cookies from /oauth/revoke
mraible Mar 7, 2017
3c7bbb5
Put back fully qualified imports
dogeared Mar 14, 2017
1afd2a8
temp echo to troubleshoot build issues
dogeared Mar 14, 2017
1eb7729
temp echo to troubleshoot build issues
dogeared Mar 14, 2017
28b3162
updated changelog
dogeared Mar 14, 2017
26b12d9
Merge pull request #1316 from stormpath/issue/1304_new
dogeared Mar 14, 2017
7ea3eab
[maven-release-plugin] prepare release stormpath-sdk-root-1.5.5
dogeared Mar 14, 2017
42b87e1
[maven-release-plugin] prepare for next development iteration
dogeared Mar 14, 2017
448c34a
Revert "temporarily disabled failing tests"
bdemers Mar 17, 2017
63ff06b
Revert "Openid-connect-new-OAuthPolicy-fields review comments"
bdemers Mar 17, 2017
253e068
Revert "penid-connect-new-OAuthPolicy-fields Review Comments"
bdemers Mar 17, 2017
c51a472
Revert "penid-connect-new-OAuthPolicy-fields Fixing Test"
bdemers Mar 17, 2017
6a61ff1
Revert "penid-connect-new-OAuthPolicy-fields"
bdemers Mar 17, 2017
3ee7744
merged 1.5.x
bdemers Mar 17, 2017
f0e275b
reverting tck.sh change that removed STORMPATH_APPLICATION_HREF
bdemers Mar 17, 2017
5cba8b5
Revert "temp echo to troubleshoot build issues"
bdemers Mar 30, 2017
0eab775
Revert "temp echo to troubleshoot build issues"
bdemers Mar 30, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 0 additions & 28 deletions api/src/main/java/com/stormpath/sdk/oauth/OAuthPolicies.java

This file was deleted.

87 changes: 0 additions & 87 deletions api/src/main/java/com/stormpath/sdk/oauth/OAuthPolicy.java
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,10 @@
package com.stormpath.sdk.oauth;

import com.stormpath.sdk.application.Application;
import com.stormpath.sdk.oauth.openidconnect.Scope;
import com.stormpath.sdk.oauth.openidconnect.ScopeList;
import com.stormpath.sdk.resource.Resource;
import com.stormpath.sdk.resource.ResourceException;
import com.stormpath.sdk.resource.Saveable;
import com.stormpath.sdk.tenant.Tenant;

import java.util.Map;

/**
* An OAuthPolicy resource is used to configure different aspects of the OAuth tokens associated
* with an {@link Application Application}
Expand All @@ -47,14 +42,6 @@ public interface OAuthPolicy extends Resource, Saveable {
*/
String getRefreshTokenTtl();

/**
* Returns the Time To Live for the id tokens created for the parent {@link Application Application} expressed in a period of time format, for example: PT1H.
*
* @return the String representation of the Time To Live for the id tokens created for the parent {@link Application Application}
* @since 1.6.0
*/
String getIdTokenTtl();

/**
* The href corresponding to the Endpoint for Access Tokens created for the parent {@link Application Application}
*
Expand Down Expand Up @@ -84,80 +71,6 @@ public interface OAuthPolicy extends Resource, Saveable {
*/
OAuthPolicy setRefreshTokenTtl(String refreshTokenTtl);

/**
* Sets the Time To Live for the id tokens created for the parent {@link Application Application} expressed in a period of time format, for example: PT1H.
*
* @return this instance for method chaining.
* @since 1.6.0
*/
OAuthPolicy setIdTokenTtl(String idTokenTtl);

/**
* Creates a new {@link Scope} assigned to this oauthPolicy in the Stormpath server and returns the created resource.
* The scope is used for openid connect flows.
*
* @param scope {@link Scope} pojo to hold necessary data to send to the back-end to create a {@link Scope}.
* @return the newly created {@link Scope}.
*
* @since 1.6.0
*/
Scope createScope(Scope scope) throws ResourceException;

/**
* Returns a paginated list of all the scopes that belong to the oAuthPolicy.
*
* @return a paginated list of all the oAuthPolicy's scopes.
*
* @since 1.6.0
*/
ScopeList getScopes();

/**
* Returns access token attribute mappings.
* <p>Open Id provider (OP) would enter any custom mappings used for their internal purposes in this map.
* Authorization server would then add all these mappings as part of the access token upon its generation.</p>
*
* @return access token attribute mappings.
*
* @since 1.6.0
*/
Map<String,String> getAccessTokenAttributeMap();

/**
* Sets access token attribute mappings to be inserted into access tokens.
*
* @param accessTokenAttributeMap access token attribute mappings to be inserted into access tokens
* <p>Open Id provider (OP) would enter any custom mappings used for their internal purposes in this map.
* Authorization server would then add all these mappings as part of the access token upon its generation.</p>
* @return this instance for method chaining.
*
* @since 1.6.0
*/
OAuthPolicy setAccessTokenAttributeMap(Map<String,String> accessTokenAttributeMap);

/**
* Returns id token attribute mappings.
* <p>Open Id provider (OP) would enter any custom mappings used for their internal purposes in this map.
* Authorization server would then add all these mappings as part of the id token upon its generation.</p>
*
* @return id token attribute mappings.
*
* @since 1.6.0
*/
Map<String,String> getIdTokenAttributeMap();

/**
* Sets id token attribute mappings to be inserted into id tokens.
*
* @param idTokenAttributeMap id token attribute mappings to be inserted into id tokens
* <p>Open Id provider (OP) would enter any custom mappings used for their internal purposes in this map.
* Authorization server would then add all these mappings as part of the id token upon its generation.</p>
* @return this instance for method chaining.
*
* @since 1.6.0
*/
OAuthPolicy setIdTokenAttributeMap(Map<String, String> idTokenAttributeMap);

/**
* Returns the {@link Application Application} associated to this {@link OAuthPolicy OAuthPolicy}
*
Expand Down
54 changes: 0 additions & 54 deletions api/src/main/java/com/stormpath/sdk/oauth/OAuthPolicyOptions.java

This file was deleted.

108 changes: 0 additions & 108 deletions api/src/main/java/com/stormpath/sdk/oauth/openidconnect/Scope.java

This file was deleted.

This file was deleted.

6 changes: 6 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
## Change Log ##

### 1.5.5 ##

* Refactored the /oauth/revoke endpoint to remove cookies

See [1.5.5 closed issues](https://github.com/stormpath/stormpath-sdk-java/issues?q=milestone%3A1.5.5+is%3Aclosed)

### 1.5.4 ##

* Fixed a bug whereby Account with MCF password is not properly created via Directory when the RegistrationWorkflow is specified
Expand Down
Loading