Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- package stellar
- import com.stellar.habbohotel.users.Habbo
- import grails.plugin.springsecurity.annotation.Secured
- class ClientController {
- def authTicketService
- @Secured('ROLE_MEMBER')
- def index() {
- [ssoTicket: authTicketService.generateAndGetAuthTicket(Habbo.get(principal.id))]
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement