- 
                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.
  
remove Filter versioning since it is rolling up into the resolver
- Loading branch information
 
      Showing
      10 changed files
      with
      372 additions
      and
      11 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
    
  
  
    
              
              
        
          
            29 changes: 29 additions & 0 deletions
          
          29 
        
  backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/DigestMethod.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,29 @@ | ||
| package edu.internet2.tier.shibboleth.admin.ui.domain; | ||
| 
     | 
||
| import lombok.EqualsAndHashCode; | ||
| 
     | 
||
| import javax.annotation.Nullable; | ||
| import javax.persistence.Entity; | ||
| 
     | 
||
| @Entity | ||
| @EqualsAndHashCode(callSuper = true) | ||
| public class DigestMethod extends AbstractElementExtensibleXMLObject implements org.opensaml.saml.ext.saml2alg.DigestMethod { | ||
| private String algorithm; | ||
| 
     | 
||
| public DigestMethod() {} | ||
| 
     | 
||
| public DigestMethod(String algorithm) { | ||
| this.algorithm = algorithm; | ||
| } | ||
| 
     | 
||
| @Nullable | ||
| @Override | ||
| public String getAlgorithm() { | ||
| return null; | ||
| } | ||
| 
     | 
||
| @Override | ||
| public void setAlgorithm(@Nullable String value) { | ||
| 
     | 
||
| } | ||
| } | 
  
    
      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
    
  
  
    
              
              
        
          
            55 changes: 55 additions & 0 deletions
          
          55 
        
  backend/src/main/java/edu/internet2/tier/shibboleth/admin/ui/domain/SigningMethod.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,55 @@ | ||
| package edu.internet2.tier.shibboleth.admin.ui.domain; | ||
| 
     | 
||
| import lombok.EqualsAndHashCode; | ||
| 
     | 
||
| import javax.annotation.Nullable; | ||
| import javax.persistence.Entity; | ||
| 
     | 
||
| @Entity | ||
| @EqualsAndHashCode(callSuper = true) | ||
| public class SigningMethod extends AbstractElementExtensibleXMLObject implements org.opensaml.saml.ext.saml2alg.SigningMethod { | ||
| private String algorithm; | ||
| private Integer minKeySize; | ||
| private Integer maxKeySize; | ||
| 
     | 
||
| public SigningMethod() {} | ||
| 
     | 
||
| public SigningMethod(String algorithm, Integer minKeySize, Integer maxKeySize) { | ||
| this.algorithm = algorithm; | ||
| this.minKeySize = minKeySize; | ||
| this.maxKeySize = maxKeySize; | ||
| } | ||
| 
     | 
||
| @Nullable | ||
| @Override | ||
| public String getAlgorithm() { | ||
| return this.algorithm; | ||
| } | ||
| 
     | 
||
| @Override | ||
| public void setAlgorithm(@Nullable String value) { | ||
| this.algorithm = value; | ||
| } | ||
| 
     | 
||
| @Nullable | ||
| @Override | ||
| public Integer getMinKeySize() { | ||
| return this.minKeySize; | ||
| } | ||
| 
     | 
||
| @Override | ||
| public void setMinKeySize(@Nullable Integer value) { | ||
| this.minKeySize = value; | ||
| } | ||
| 
     | 
||
| @Nullable | ||
| @Override | ||
| public Integer getMaxKeySize() { | ||
| return this.maxKeySize; | ||
| } | ||
| 
     | 
||
| @Override | ||
| public void setMaxKeySize(@Nullable Integer value) { | ||
| this.maxKeySize = value; | ||
| } | ||
| } | 
  
    
      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
    
  
  
    
              
              
        
          
            34 changes: 34 additions & 0 deletions
          
          34 
        
  backend/src/main/resources/jpa-saml2-metadata-algorithm-config.xml
  
  
      
      
   
        
      
      
    
  
    
      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,34 @@ | ||
| <?xml version="1.0" encoding="UTF-8"?> | ||
| <XMLTooling xmlns="http://www.opensaml.org/xmltooling-config" xmlns:alg="urn:oasis:names:tc:SAML:metadata:algsupport" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opensaml.org/xmltooling-config ../../src/schema/xmltooling-config.xsd"> | ||
| 
     | 
||
| <!-- SAML v2.0 Metadata Profile for Algorithm Support Version 1.0 XMLObject providers --> | ||
| <ObjectProviders> | ||
| 
     | 
||
| <!-- DigestMethod provider --> | ||
| <ObjectProvider qualifiedName="alg:DigestMethod"> | ||
| <BuilderClass className="edu.internet2.tier.shibboleth.admin.ui.domain.DigestMethodBuilder"/> | ||
| <MarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.DigestMethodMarshaller"/> | ||
| <UnmarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.DigestMethodUnmarshaller"/> | ||
| </ObjectProvider> | ||
| 
     | 
||
| <ObjectProvider qualifiedName="alg:DigestMethodType"> | ||
| <BuilderClass className="edu.internet2.tier.shibboleth.admin.ui.domain.DigestMethodBuilder"/> | ||
| <MarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.DigestMethodMarshaller"/> | ||
| <UnmarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.DigestMethodUnmarshaller"/> | ||
| </ObjectProvider> | ||
| 
     | 
||
| <!-- SigningMethod provider --> | ||
| <ObjectProvider qualifiedName="alg:SigningMethod"> | ||
| <BuilderClass className="edu.internet2.tier.shibboleth.admin.ui.domain.SigningMethodBuilder"/> | ||
| <MarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.SigningMethodMarshaller"/> | ||
| <UnmarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.SigningMethodUnmarshaller"/> | ||
| </ObjectProvider> | ||
| 
     | 
||
| <ObjectProvider qualifiedName="alg:SigningMethodType"> | ||
| <BuilderClass className="edu.internet2.tier.shibboleth.admin.ui.domain.SigningMethodBuilder"/> | ||
| <MarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.SigningMethodMarshaller"/> | ||
| <UnmarshallingClass className="org.opensaml.saml.ext.saml2alg.impl.SigningMethodUnmarshaller"/> | ||
| </ObjectProvider> | ||
| 
     | 
||
| </ObjectProviders> | ||
| </XMLTooling> | 
  
    
      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,22 @@ | ||
| package edu.internet2.tier.shibboleth.admin.ui.domain; | ||
| 
     | 
||
| import edu.internet2.tier.shibboleth.admin.ui.opensaml.xml.AbstractSAMLObjectBuilder; | ||
| import org.opensaml.saml.common.xml.SAMLConstants; | ||
| 
     | 
||
| public class {{TOKEN}}Builder extends AbstractSAMLObjectBuilder<{{TOKEN}}> { | ||
| public {{TOKEN}}Builder() { | ||
| } | ||
| 
     | 
||
| public {{TOKEN}} buildObject() { | ||
| return buildObject(SAMLConstants.SAML20ALG_NS, {{TOKEN}}.DEFAULT_ELEMENT_LOCAL_NAME, | ||
| SAMLConstants.SAML20ALG_PREFIX); | ||
| } | ||
| 
     | 
||
| public {{TOKEN}} buildObject(final String namespaceURI, final String localName, final String namespacePrefix) { | ||
| {{TOKEN}} o = new {{TOKEN}}(); | ||
| o.setNamespaceURI(namespaceURI); | ||
| o.setElementLocalName(localName); | ||
| o.setNamespacePrefix(namespacePrefix); | ||
| return o; | ||
| } | ||
| } | 
  
    
      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.