Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

role-name="*" and role-name="**" in Servlet 3.1

DZone's Guide to

role-name="*" and role-name="**" in Servlet 3.1

· Java Zone ·
Free Resource

Get the Edge with a Professional Java IDE. 30-day free trial.

Servlet 3.1 is a relatively minor release included in Java EE 7. However, the Java EE foundational API still contains some very important changes. One such set of features are the security enhancements done in Servlet 3.1 such as the new role-name="*" and role-name="**" options. Servlet 3.1 co-spec lead Shing Wai Chan outlines the use case for the feature and shows you how to use it in a recent code example driven post. He also references the features in his brief Servlet 3.1 overview presentation on the GlassFish Videos YouTube channel(embedded below).

You can also check out the official specification yourself or try things out with the newly releasedJava EE 7 SDK.

Get the Java IDE that understands code & makes developing enjoyable. Level up your code with IntelliJ IDEA. Download the free trial.

Topics:

Published at DZone with permission of

Opinions expressed by DZone contributors are their own.

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}