-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into feature-dm-1190-grant-different-roles…
…-in-projects
- Loading branch information
Showing
20 changed files
with
423 additions
and
145 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
11 changes: 11 additions & 0 deletions
11
identity/src/main/java/life/qbic/identity/domain/model/token/TokenEncoder.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,11 @@ | ||
package life.qbic.identity.domain.model.token; | ||
|
||
/** | ||
* Encodes Access Tokens. | ||
*/ | ||
public interface TokenEncoder { | ||
|
||
String encode(char[] token); | ||
|
||
boolean matches(char[] token, String encodedToken); | ||
} |
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
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
.../life/qbic/projectmanagement/application/measurement/validation/MeasurementValidator.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 life.qbic.projectmanagement.application.measurement.validation; | ||
|
||
import life.qbic.projectmanagement.application.measurement.MeasurementMetadata; | ||
|
||
/** | ||
* <b>Measurement Validator</b> | ||
* | ||
* <p>Validation interface employed to check the provided user input for a measurement. | ||
* Implementations of this interface are supposed to be domain specific and will | ||
* return a ValidationResult dependent on the presence or absence of data | ||
* </p> | ||
* | ||
*/ | ||
public interface MeasurementValidator<T extends MeasurementMetadata> { | ||
|
||
ValidationResult validate(T measurementMetadata); | ||
|
||
} |
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
16 changes: 0 additions & 16 deletions
16
...c/main/java/life/qbic/projectmanagement/application/measurement/validation/Validator.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.