Permalink
Browse files

GPSPRINGSECURITYCORE-268 Make ROLE_ more prominent

  • Loading branch information...
1 parent cdf5193 commit 98c963ff3624c130c929bbdf0574952504af1692 @timyates timyates committed Jan 14, 2014
Showing with 3 additions and 1 deletion.
  1. +3 −1 src/docs/guide/domainClasses/authorityClass.gdoc
@@ -30,6 +30,8 @@ authority.className | none | Role class name
authority.nameField | 'authority' | Role class role name field
{table}
-Note that role names must start with "ROLE_". This is configurable in Spring Security, but not in the plugin. It would be possible to allow different prefixes, but it's important that the prefix not be blank as the prefix is used to differentiate between role names and tokens such as IS_AUTHENTICATED_FULLY/IS_AUTHENTICATED_ANONYMOUSLY/etc., and SpEL expressions.
+{note}
+Role names must start with "ROLE_". This is configurable in Spring Security, but not in the plugin. It would be possible to allow different prefixes, but it's important that the prefix not be blank as the prefix is used to differentiate between role names and tokens such as IS_AUTHENTICATED_FULLY/IS_AUTHENTICATED_ANONYMOUSLY/etc., and SpEL expressions.
+{note}
The role names should be primarily an internal implementation detail; if you want to display friendlier names in a UI, it's simple to remove the prefix first.

0 comments on commit 98c963f

Please sign in to comment.