[security-dev] A simple Deltaspike Authorization quickstart

Anil Saldhana Anil.Saldhana at redhat.com
Fri Aug 3 16:20:27 EDT 2012


Pete,
   I like your quickstart.

A question I have is if a developer is writing a REST based app, does he 
need JAX-RS and CDI or just JAX-RS with JPA?  I am not clear on the need 
for CDI here.

I hope you can elaborate on this question.

Regards,
Anil

On 08/03/2012 01:36 PM, Pete Muir wrote:
> Hi all
>
> I just did a first cut at a simple quickstart showing how you can use:
>
> * DeltaSpike Authorization
> * CDI
> * JAX-RS
> * DeltaSpike exception handling
>
> to restrict access to a REST resources, and do something with the AccessDeniedException other than just rethrow it.
>
> Please take a look:
>
> https://github.com/pmuir/quickstart/tree/deltaspike-authorization/deltaspike-authz
>
> Known issues:
>
> * I'm not handling bad responses in the UI at all. Please tell me what to do someone :-)
> * The README isn't done
>
>


More information about the security-dev mailing list