[java-oidc-common] branch main updated: Schema cleanup.

Scott Cantor cantor.2 at osu.edu
Tue Feb 16 17:36:59 UTC 2021


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch main
in repository java-oidc-common.

View the commit online:
http://git.shibboleth.net/view/?p=java-oidc-common.git;a=commit;h=c319e014a756af24bbdf40e6976f324d0c5b0ceb

The following commit(s) were added to refs/heads/main by this push:
       new  c319e01   Schema cleanup.
c319e01 is described below

commit c319e014a756af24bbdf40e6976f324d0c5b0ceb
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Tue Feb 16 12:36:57 2021 -0500

    Schema cleanup.
---
 .../schema/shibboleth-attribute-encoder-oidc.xsd   | 56 ++++++++--------------
 1 file changed, 19 insertions(+), 37 deletions(-)

diff --git a/oidc-common-attribute-impl/src/main/resources/schema/shibboleth-attribute-encoder-oidc.xsd b/oidc-common-attribute-impl/src/main/resources/schema/shibboleth-attribute-encoder-oidc.xsd
index 9c268cd..3d16a6c 100644
--- a/oidc-common-attribute-impl/src/main/resources/schema/shibboleth-attribute-encoder-oidc.xsd
+++ b/oidc-common-attribute-impl/src/main/resources/schema/shibboleth-attribute-encoder-oidc.xsd
@@ -10,40 +10,32 @@
 
     <complexType name="OIDCString">
         <annotation>
-            <documentation>Defines a encoder for a string attribute.
-            </documentation>
+            <documentation>OIDC encoder for string attribute values.</documentation>
         </annotation>
         <complexContent>
-            <extension base="oidcresolver:BaseAttributeEncoderType">
-            </extension>
+            <extension base="oidcresolver:BaseAttributeEncoderType" />
         </complexContent>
     </complexType>
 
     <complexType name="OIDCByte">
         <annotation>
-            <documentation>Defines a base64 encoder for a byte attribute.
-            </documentation>
+            <documentation>OIDC encoder for byte-valued attribute values.</documentation>
         </annotation>
         <complexContent>
-            <extension base="oidcresolver:BaseAttributeEncoderType">
-            </extension>
+            <extension base="oidcresolver:BaseAttributeEncoderType" />
         </complexContent>
     </complexType>
 
     <complexType name="OIDCScopedString">
         <annotation>
-            <documentation>Defines a OIDC string encoder for a scoped string
-                attribute.
-            </documentation>
+            <documentation>OIDC encoder for scoped string attribute values.</documentation>
         </annotation>
         <complexContent>
             <extension base="oidcresolver:BaseAttributeEncoderType">
-                <attribute name="scopeDelimiter" type="string" use="optional">
+                <attribute name="scopeDelimiter" type="string">
                     <annotation>
                         <documentation>
-                            This is the delimeter used between the attribute
-                            value and
-                            scope.
+                            Delimiter used between the attribute value and scope.
                         </documentation>
                     </annotation>
                 </attribute>
@@ -51,49 +43,39 @@
         </complexContent>
     </complexType>
 
-
     <element name="OIDCAttributeEncoder" type="oidcresolver:BaseAttributeEncoderType">
         <annotation>
-            <documentation>Defines a encoder (to JSON Object) for an attribute.
-            </documentation>
+            <documentation>Defines a encoder (to JSON Object) for an attribute.</documentation>
         </annotation>
     </element>
+    
     <complexType name="BaseAttributeEncoderType">
         <complexContent>
             <extension base="resolver:BaseAttributeEncoderType">
-                <attribute name="asObject" type="string" use="optional">
+                <attribute name="asObject" type="string">
                     <annotation>
-                        <documentation>
-                            Wrap encoded values into JSON Object.
-                        </documentation>
+                        <documentation>Wrap encoded values into JSON Object.</documentation>
                     </annotation>
                 </attribute>
-                <attribute name="asBoolean" type="string" use="optional">
+                <attribute name="asBoolean" type="string">
                     <annotation>
-                        <documentation>
-                            Encode values as boolean.
-                        </documentation>
+                        <documentation>Encode values as boolean.</documentation>
                     </annotation>
                 </attribute>
-                <attribute name="asArray" type="string" use="optional">
+                <attribute name="asArray" type="string">
                     <annotation>
-                        <documentation>
-                            Encode values into array.
-                        </documentation>
+                        <documentation>Encode values into array.</documentation>
                     </annotation>
                 </attribute>
-                <attribute name="asInt" type="string" use="optional">
+                <attribute name="asInt" type="string">
                     <annotation>
-                        <documentation>
-                            Convert value to integer if possible.
-                        </documentation>
+                        <documentation>Convert value to integer if possible.</documentation>
                     </annotation>
                 </attribute>
-                <attribute name="stringDelimiter" type="string" use="optional">
+                <attribute name="stringDelimiter" type="string">
                     <annotation>
                         <documentation>
-                            Delimeter used when catenating multiple attribute
-                            values to one.
+                            Delimiter used when concatenating multiple attribute values into one.
                         </documentation>
                     </annotation>
                 </attribute>

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list