-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
7 changed files
with
221 additions
and
65 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
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
41 changes: 41 additions & 0 deletions
41
...java/edu/internet2/tier/shibboleth/admin/ui/domain/filters/SignatureValidationFilter.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,41 @@ | ||
package edu.internet2.tier.shibboleth.admin.ui.domain.filters; | ||
|
||
import lombok.EqualsAndHashCode; | ||
import lombok.Getter; | ||
import lombok.Setter; | ||
import lombok.ToString; | ||
|
||
import javax.persistence.CollectionTable; | ||
import javax.persistence.Column; | ||
import javax.persistence.ElementCollection; | ||
import javax.persistence.Entity; | ||
import javax.persistence.JoinColumn; | ||
import javax.persistence.OrderColumn; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@Entity | ||
@EqualsAndHashCode(callSuper = true) | ||
@Getter | ||
@Setter | ||
@ToString | ||
public class SignatureValidationFilter extends MetadataFilter { | ||
|
||
public SignatureValidationFilter() { | ||
type = "SignatureValidation"; | ||
} | ||
|
||
private Boolean requireSignedRoot = true; | ||
|
||
private String certificateFile; | ||
|
||
private String defaultCriteriaRef; | ||
|
||
private String signaturePrevalidatorRef; | ||
|
||
private String dynamicTrustedNamesStrategyRef; | ||
|
||
private String trustEngineRef; | ||
|
||
private String publicKey; | ||
} |
16 changes: 16 additions & 0 deletions
16
...du/internet2/tier/shibboleth/admin/ui/repository/SignatureValidationFilterRepository.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,16 @@ | ||
package edu.internet2.tier.shibboleth.admin.ui.repository; | ||
|
||
import edu.internet2.tier.shibboleth.admin.ui.domain.filters.SignatureValidationFilter; | ||
import org.springframework.data.repository.CrudRepository; | ||
|
||
/** | ||
* Spring Data CRUD repository for instances of {@link SignatureValidationFilter}s. | ||
*/ | ||
public interface SignatureValidationFilterRepository extends CrudRepository<SignatureValidationFilter, Long> { | ||
|
||
SignatureValidationFilter findByName(String name); | ||
|
||
SignatureValidationFilter findByResourceId(String resourceId); | ||
|
||
boolean deleteByResourceId(String resourceId); | ||
} |
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.