Permalink
Browse files

Merge pull request #38 from timyates/patch-1

GPSPRINGSECURITYCORE-268 Make ROLE_ more prominent
  • Loading branch information...
2 parents cdf5193 + 429b2e9 commit 31c9c721da04f38c12823ee8b08a79c0525c13ff @burtbeckwith burtbeckwith 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.
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.
+{note}

0 comments on commit 31c9c72

Please sign in to comment.