Permalink
Browse files

Change names for snippet dispatch

  • Loading branch information...
1 parent 44b7c83 commit c68662ba0db11e43e5103ab40698127c5f2939b9 @lunserv lunserv committed Oct 3, 2011
Showing with 4 additions and 5 deletions.
  1. +4 −5 library/src/main/scala/shiro/shiro.scala
@@ -25,11 +25,10 @@ object Shiro extends Factory {
case "has_permission" | "hasPermission" | "HasPermission" => HasPermission
case "lacks_permission" | "lacksPermission" | "LacksPermission" => LacksPermission
case "has_any_roles" | "hasAnyRoles" | "HasAnyRoles" => HasAnyRoles
- case "guest_tag" | "guestTag" | "GuestTag" => GuestTag
- case "user_tag" | "userTag" | "UserTag" => UserTag
- case "authenticated_tag" | "authenticatedTag" | "AuthenticatedTag" => AuthenticatedTag
- case "not_authenticated_tag" | "notAuthenticatedTag" | "NotAuthenticatedTag" => NotAuthenticatedTag
- case "principal_tag" | "principalTag" | "PrincipalTag" => PrincipalTag
+ case "is_guest" | "isGuest" | "IsGuest" => IsGuest
+ case "is_user" | "isUser" | "IsUser" => IsUser
+ case "is_authenticated" | "isAuthenticated" | "IsAuthenticated" => IsAuthenticated
+ case "is_not_authenticated" | "isNotAuthenticated" | "IsNotAuthenticated" => IsNotAuthenticated
}
}

0 comments on commit c68662b

Please sign in to comment.