Skip to content
This repository was archived by the owner on Dec 12, 2018. It is now read-only.
This repository was archived by the owner on Dec 12, 2018. It is now read-only.

Stormpath customData access #20

@cha55son

Description

@cha55son

I have looked all over the place but can't seem to find how to access the customData for a logged in user. The stormpath-shiro plugin is setup and working. I can login as a user and the permissions are correct as well. I just need to be able to access the customData provided by stormpath.

Here is my code (jRuby on Rails):

    token = UsernamePasswordToken.new(username, password)
    token.setRememberMe(false)
    begin
        current_user.login(token)
        puts current_user.getPrincipals() # Doesn't contain the custom data.
        ...
        # Not sure how to access the customData for the logged in user.
        # Any help would be greatly appreciated.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions