You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that the security bridge is configured, The spring security bridge can be used anywhere throughout your app by simply defining the @sharedSecurityService@.
The @sharedSecurityService@ provides access to all methods created in the bridge, as well as some additional methods to make things a bit easier.
* @getCurrentUser()@
* @getCurrentAccount()@
* @getUserIdentity()@
* @getAccountIdentity()@
* @getCurrentUserDisplayName()@
* @isAuthorized(object,action)@
* @isLoggedIn()@
* @hasAnyRole(role)@
* @ifAuthorized(object,action,Closure code)@
For More methods please take a look at your SecurityBridge interface.