i am new to grails and trying to show the firstname of the user with: "shiro:principal property="firstName"
but it gives me the following error:
Error executing tag 'shiro:principal': No such property: firstName for class: java.lang.String
If i just to use "shiro:principal" it does print the username, but i need first name.
the domain class looks like this:
class ShiroUser {
String firstName
String lastName
String username
thanks for your help!