CESNET/perun — pull request #145 by stavamichal (2014-02-12 13:12:12+00:00)
Title: Add Resoure to LDAP schema

- main.java will be generate also resources
- LdapConnector/Impl has new methods for work with resources
- EventProcessorImpl has new strategy to work with resources messages (from log)

Other changes which need to be done before starting LDAP:
- add resource and his attributes to perun.schema file

This must be add to perun.schema:
----------------------------------------------
attributetype ( 1.3.6.1.4.1.8057.2.80.16
NAME 'perunResourceId'
DESC 'Unique resource identifier managed by Perun'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
)

attributetype ( 1.3.6.1.4.1.8057.2.80.17
NAME 'perunFacilityId'
DESC 'Unique facilityId identifier managed by Perun'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
SINGLE-VALUE
)

attributetype ( 1.3.6.1.4.1.8057.2.80.18
NAME 'assignedGroupId'
DESC 'Identifier of group which is assigned to this resource'
EQUALITY caseIgnoreMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15
)

objectclass ( 1.3.6.1.4.1.8057.2.80.15
NAME 'perunResource'
DESC 'Resource managed by Perun'
SUP groupOfUniqueNames
STRUCTURAL
MUST (
perunResourceId $
perunVoId $
perunFacilityId
)
MAY (
assignedGroupId
)
)
----------------------------------------------