The first part about Basic Authentication is now added to the Security chapter of my tutorial on how to develop a component-based Google App Engine app.
Enjoy your Sunday!
Enjoy your Sunday!
hg clone https://bitbucket.org/f94os/json-doc-store
@RequestMapping(value="{kind}", method= RequestMethod.POST)
public ResponseEntity createDocument(
@PathVariable String kind,
@RequestParam String id,
@RequestBody Map props
) {
// Spring and Jackson binds my JSON object to a Map
// Bind to AppEngine Datastore Entities
// persist in datastore
}
@RequestMapping(value="{kind}/{id}", method= RequestMethod.GET)
public ResponseEntity
// Jackson will serialize from Map to JSON
}
DAV svn
SVNParentPath /svn
AuthType Basic
AuthBasicProvider ldap
AuthName "LDAP auth repo"
AuthLDAPURL ldap://localhost/dc=sub,dc=company,dc=com?uid
AuthLDAPGroupAttribute memberUid
AuthLDAPGroupAttributeIsDN off
AuthzLDAPAuthoritative on
Require ldap-group cn=SVN-inhouse,cn=Groups,dc=sub,dc=company,dc=com