Hi all,

I 'm using the STSClient of rahas to call my sts service, but when I get the
response back from the server I get this error message

 org.apache.rahas.TrustException: RequestedSecurityToken missing in the
response

I my response I've got the RequestedSecurityToken element, my response looks
like this

 <RequestSecurityTokenResponse xmlns="
http://docs.oasis-open.org/ws-sx/ws-trust/200512";>
            <RequestedSecurityToken>
               <RoleInProject xmlns="http://my.namespace/";>
                  <Role>ADMIN</Role>
                  <Project>test</Project>
               </RoleInProject>
            </RequestedSecurityToken>
         </RequestSecurityTokenResponse>

I've set the version of the Sts client to RahasConstants.VERSION_05_12 like
this

stsClient.setVersion(RahasConstants.VERSION_05_12)

So the version should be reflecting the namespace. Does anyone have any
hints on this issue?

cheers, Håkon


-- 
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to