Start of an LDAP schema

This commit is contained in:
Benjamin Dauvergne 2010-11-19 11:02:45 +00:00
parent 677d51eec8
commit c90d1414b6
1 changed files with 76 additions and 0 deletions

76
ldap/saml2.schema Normal file
View File

@ -0,0 +1,76 @@
#
# SAMLv2 schema
#
# This schema allows to store federation objects
#
objectIdentifier EoRoot 1.3.6.4.1.10650
objectIdentifier EoSAMLRoot EoRoot:1
objectIdentifier EoSAMLAttribute EoSAMLRoot:1
objectIdentifier EoSAMLClass EoSAMLRoot:2
# Attributes
attributeType ( EoSAMLAttribute:1
NAME 'NameID'
DESC 'A name identifier shared by an IdP and a SP'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:2
NAME 'NameQualifier'
DESC 'A Qualifier for the federation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:3
NAME 'SPNameQualifier'
DESC 'A Qualifier for the federation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:4
NAME 'Format'
DESC 'A format for the federation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:5
NAME 'SPProvidedID'
DESC 'A format for the federation'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:6
NAME 'entityID'
DESC 'An URI identifying a SAMLv2 entity'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:7
NAME 'metadataURL'
DESC 'An URL where the metadata for this entity can be retrieved'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.26
SINGLE-VALUE )
attributeType ( EoSAMLAttribute:7
NAME 'metadataContent'
DESC 'Metadata document for a SAMLv2 entity'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.40
SINGLE-VALUE )
# Classes
objectclass ( EOSAMLClass:1
NAME 'saml2Federation'
DESC 'A SAMLv2 federation'
STRUCTURAL
MUST ( NameID )
MAY ( NameQualifier $ SPNameQualifier $ Format $ SPProvidedID ))
objectclass ( EOSAMLClass:2
NAME 'saml2Entity'
DESC 'A SAMLv2 entity'
STRUCTURAL
MUST ( entityID )
MAY ( metadataURL $ metadataContent )