dgillman/rfabric-jasper-tokenauth — pull request #1 by leo-at-rsmart (2012-12-12 15:40:08+00:00)
Title: KIMUserProvider Implementation

I added a plugin and dependency to the pom for CXF to generate stubs from WSDLs. I also included the WSDLs because Rice has wsdls separated by service which you can specify to maven as a 'classifier'; however, the cxf plugin won't acknowledge classifiers. This forces me to load wsdl from the filesystem instead of an artifact. That's fine though. I am setting the endpoint url with a prefix kim.endpoint.url. This property is set at runtime. It is used to point the WS clients to the appropriate endpoint at runtime. Should look something like http://localhost:8080/kr-dev/kim/remoting

Since KIM has no *efficient* way to retrieve all roles or permissions for a single person, I am using a property 'availableAuthorities' to define authorities I want to check for. That way it doesn't have to iterate through every role/perm in the system.