kolja.ehlersiconplc.com Posted February 15, 2013 Share Posted February 15, 2013 Dear all,I have gotten external authentication to work with my LoginModule implementation using the JaasAuthenticationProvider. The login will create a Subject object that holds a set of Principals. Now what I am wondering how do I add an Organization to my Subject in a way that JasperServer will recognize it.Similar question for the ROLES but I guess this is what the authorityGranters is for. With that class I can map our system ROLES to Jasper Roles if I understand correctly. As mentioned I just have not tried this yet.Thanks for the HelpKolja Link to comment Share on other sites More sharing options...
Solution kolja.ehlersiconplc.com Posted February 21, 2013 Author Solution Share Posted February 21, 2013 So I got this now working by implementing a custom JaasAuthenticationProvider and not returning only request.getPrincipal() but a UserDetails Object containing all the nice stuff. Then I worte a custom ExternalUserProcessor to plug all my user detail back into the JasperServer MetaDataUser. Link to comment Share on other sites More sharing options...
gbdenaro Posted February 26, 2014 Share Posted February 26, 2014 Hi, I know it is an old post, but I am trying to do the same thing and cannot find enough information shared in the same place. Could you provide me the solution? Thanks! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now