I am converting application from Seam 3 to Picketlink. Currently there is used Identity which have hasRole and addRole methods.
There is Identity class in picketlink too but it is missing these two methods (hasRole and addRole).
How can I add and check role using picketlink?