LDAP Storage for Archetypes

Loading...

Flash Player 9 (or above) is needed to view presentations.
We have detected that you do not have it on your computer. To install it, go here.

0 comments

Post a comment

    Post a comment
    Embed Video
    Edit your comment Cancel

    Favorites, Groups & Events

    LDAP Storage for Archetypes - Presentation Transcript

    1. LDAP Storage for Archetypes Ricardo Alves [email_address] Plone Conference 2009 - Budapest
    2. What is LDAP?
      • Protocol
      • Operations to access directory services
    3. What is a Directory Service?
      • Data backend
      • Hierarchical information
      • Data more likely to read than written
      • Data used by different, unrelated applications
    4. Is LDAP an authentication system?
    5. No!
    6. Can we use it for authentication?
    7. Yes we can!
    8. Bind
    9. LDAP and Plone
      • Several Products:
        • LDAPUserFolder
        • PloneLDAP
        • LDAPMultiPlugins
      • LDAP as an authentication backend
    10. LDAP schema dn: cn=johndoe,dc=localhost,dc=localdomain objectClass: inetOrgPerson uid: johndoe cn: johndoe sn: John Doe businessCategory: comerce displayName:Jonh Doe homePhone: +000 111222333 homePostalAddress: Some street somewhere, 111 mail: mobile: +000 222222333
    11. LDAP as content backend
      • Examples:
        • Contacts / address book
        • Members as content (e.g. Membrane)
      • Problem:
        • Doesn't support transactions!
    12. LDAP connection
      • Products.ldapconnection:
        • Much like old-style SQL connection objects
        • (Client-side) transaction support
    13. LDAPStorage for Archetypes
      • archetypes.ldapstorage
      ... StringField( 'name', storage = LDAPStorage( 'cn', # RDN attribute 'name', # At field Id 'cn', # LDAP attribute default_attrs = { 'objectClass': ['inetOrgPerson'], }, required_attrs = ['sn', 'cn'], ), ), ...
    14. Issues
      • Not really transactional
      • LDAP and AT schema must be compatible
    15. Future
      • New z3 components (connection as an utility)
      • More testing
      • Improve storage implementation
    16. References
      • Products.ldapconnection:
        • http://pypi.python.org/pypi/Products.ldapconnection
      • archetypes.ldapstorage:
        • http://pypi.python.org/pypi/archetypes.ldapstorage
    17. Questions? Ricardo Alves [email_address]
    SlideShare Zeitgeist 2009

    + Ricado AlvesRicado Alves Nominate

    custom

    89 views, 0 favs, 0 embeds more stats

    More info about this document

    © All Rights Reserved

    Go to text version

    • Total Views 89
      • 89 on SlideShare
      • 0 from embeds
    • Comments 0
    • Favorites 0
    • Downloads 0
    Most viewed embeds

    more

    All embeds

    less

    Flagged as inappropriate Flag as inappropriate
    Flag as inappropriate

    Select your reason for flagging this presentation as inappropriate. If needed, use the feedback form to let us know more details.

    Cancel
    File a copyright complaint
    Having problems? Go to our helpdesk?

    Categories