I'm a bit late to the party, but take a look at this quick start - https://github.com/picketlink/picketlink-quickstarts/tree/master/picketlink-authorization-idm-jpa - in particular https://github.com/picketlink/picketlink-quickstarts/blob/master/picketlink-authorization-idm-jpa/src/main/webapp/home.xhtml - which shows the same with PicketLink 2.5 :-)
On 4 Sep 2013, at 18:50, Kelly Goedert <[email protected]> wrote: > Hi, > > using the direction given to me in my previous question, I was able to > implement an authentication mechanism in my app using picketlink. > > I remember that in seam 3, I could use something like this on a xhtml > <h:commandButton ... rendered="#{identity.hasRole('some role name')}"> > > I could not find this in picketlink. According to this page > https://docs.jboss.org/author/display/SECURITY/PicketBox+CDI#PicketBoxCDI-IdentityManagement > it > is not available. Is there anything on deltaspike to implement this? > > Or I should be asking this on a picketlink forum? > > Thanks > > Kelly
