<div dir="ltr">We have integrated shibboleth web sso into our application to authenticate the user, Now we want to
<br>do authorization for our application. The below is the process which is i am thinking for authz.
<br><br>- According to shibboleth idp, the unauthenticated user is 
redirects to login.jsp from idp using &quot;ExternalAuth&quot;(PasswordProtected) 
authentication method in &quot;handler.xml&quot; 
<br>-  Once the user enters the username and password, the page is going to our database
<br>and authenticates the user is valid or not.
<br>  Here i want to get the permissions for the user if he is authenticated.
<br>- Now again user redirects to idp with **some information** along with the permissions, 
<br> so idp redirects to our service provider with that permissions, no we can control the authorization
<br> for the users. 
<br>We have already getting user information like user name and 
sessionId by using &#39;Principle&#39; which is set in the 
&#39;attribute-resolver.xml&#39;.
<br>Here i came to know that i have to deal with **attribute-resolver.xml**, right now we are using
<br>principle and transientId in this xml. So i know i could get the requierd info(Permissions) from saml response
<br>from shibboleth idp.
<br><br>So Please tell me, how to deal with attribute-resolver.xml to add our permissions for authorization. <br></div>