This repository has been archived by the owner on Dec 12, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 155
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed com.stormpath.sdk.resource.Status Enum in favor of resource-s…
…pecific Status Enum classes to help ensure backwards compatibility moving forward (Enums cannot be subclassed for resource-specific states which would prevent us from enabling any resource-specific customization in the future).
- Loading branch information
1 parent
96f8858
commit 761ea56
Showing
24 changed files
with
120 additions
and
165 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
api/src/main/java/com/stormpath/sdk/application/ApplicationStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.stormpath.sdk.application; | ||
|
||
/** | ||
* @since 0.8 | ||
*/ | ||
public enum ApplicationStatus { | ||
|
||
/** | ||
* Accounts may login to enabled applications. | ||
*/ | ||
ENABLED, | ||
|
||
/** | ||
* Accounts may not login to disabled applications. | ||
*/ | ||
DISABLED, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
api/src/main/java/com/stormpath/sdk/directory/DirectoryStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package com.stormpath.sdk.directory; | ||
|
||
/** | ||
* @since 0.8 | ||
*/ | ||
public enum DirectoryStatus { | ||
|
||
/** | ||
* Accounts in enabled Directories may login to applications. | ||
*/ | ||
ENABLED, | ||
|
||
/** | ||
* Accounts in disabled Directories may not login to applications. | ||
*/ | ||
DISABLED, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
api/src/main/java/com/stormpath/sdk/group/GroupStatus.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package com.stormpath.sdk.group; | ||
|
||
/** | ||
* @since 0.8 | ||
*/ | ||
public enum GroupStatus { | ||
|
||
/** | ||
* Accounts in enabled Groups mapped to applications may login to those applications. | ||
*/ | ||
ENABLED, | ||
|
||
/** | ||
* Accounts in disabled Groups mapped to applications may not login to those applications. | ||
*/ | ||
DISABLED, | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.