[undertow-dev] Account.getRoles()?

Stuart Douglas sdouglas at redhat.com
Mon Aug 19 10:46:49 EDT 2013


Done, I should have a release with this in it in the next few days.

Stuart

----- Original Message -----
> From: "Bill Burke" <bburke at redhat.com>
> To: "Stuart Douglas" <sdouglas at redhat.com>
> Cc: undertow-dev at lists.jboss.org
> Sent: Friday, 16 August, 2013 6:18:43 PM
> Subject: Re: [undertow-dev] Account.getRoles()?
> 
> Yes, but this is a separate case where I want to create an OAuth server
> on top of an existing security domain.  So, the custom IdentityManager
> would be delegating to the configured one.
> 
> On 8/16/2013 12:13 PM, Stuart Douglas wrote:
> > For your use case don't you need to use a custom IdentityManager anyway? If
> > so you can just have getRoles() on your account implementation and cast
> > it.
> >
> > Stuart
> >
> > ----- Original Message -----
> >> From: "Bill Burke" <bburke at redhat.com>
> >> To: undertow-dev at lists.jboss.org
> >> Sent: Friday, 16 August, 2013 5:50:00 PM
> >> Subject: [undertow-dev] Account.getRoles()?
> >>
> >> Any way we could have an Account.getRoles()?
> >>
> >> One of the things Resteasy OAuth integration can do with AS7 is turn an
> >> existing SecurityDomain into an OAuth server with SkeletonKey tokens.
> >> To do this though I need to be able to extract the user's role mappings
> >> after authentication.  For AS7, this can be extracted from the
> >> Principal.  For Undertow only though, Account has no getRoles() method.
> >>
> >> Can you add Set<String> getRoles() to Account?
> >> --
> >> Bill Burke
> >> JBoss, a division of Red Hat
> >> http://bill.burkecentral.com
> >> _______________________________________________
> >> undertow-dev mailing list
> >> undertow-dev at lists.jboss.org
> >> https://lists.jboss.org/mailman/listinfo/undertow-dev
> >>
> 
> --
> Bill Burke
> JBoss, a division of Red Hat
> http://bill.burkecentral.com
> 


More information about the undertow-dev mailing list