14.02.2014 Views

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

ldapv3.pdf 7947KB Apr 17 2013 11:30:42 AM - mirror omadata

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

LDAP Module Limitations<br />

(From the LDAP authentication plugin README)<br />

Authorization of actions (like subcribing/publishing/erasing messages) is not<br />

supported with this plugin, xmlBlaster logs warnings to notify you<br />

about this. If you want to implement authorization, please subclass<br />

org.xmlBlaster.authentication.plugins.ldap.Session and implement<br />

the method -<br />

// actionKey is "SUBSCRIBE", "GET", "PUBLISH", "ERASE"<br />

// key is the ID of a message<br />

public boolean isAuthorized(String actionKey, String key)<br />

{<br />

DirContext ctx = ldap.getRootContext();<br />

// ... your LDAP queries to authorize the user action ...<br />

// return true if user may do this<br />

}

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!