OASIS Open Mailing List Archives  ·  All Lists  ·  xspa-interop-tech  ·  2010-02

xspa-interop-tech — archive

[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]

IBM's WS-Trust endpoint is up




  
  


Craig & Jiandong;

User Accounts.....
Your STSs should support following users.

VA and DoD Demonstration
drbob / xspa
nursealice / xpsa

IBM Demonstration
drbobibm / xpsa
nursealiceibm / xspa

Jericho Demonstration
drbobjericho /xpsa
nursealicejericho / xspa

SUN/Oracle Demonstration
drbobsun / xpsa
nursealicesun / xspa

Attributes...

I am working on the claims right now.  For initial testing purposes I plan to assert all attributes into the claim...

        // run time claims
        XSPAClaims cms = new XSPAClaims();
        //subject
        cms.addClaimType(SecuredPatientToken.getSUBJECT_ID_NS(), SecuredPatientToken.getSUBJECT_ID());
        cms.addClaimType(SecuredPatientToken.getSUBJECT_NPI_NS(), SecuredPatientToken.getSUBJECT_NPI());
        cms.addClaimType(SecuredPatientToken.getSUBJECT_LOCALITY_NS(), SecuredPatientToken.getSUBJECT_LOCALITY());
        cms.addClaimType(SecuredPatientToken.getSUBJECT_STRUCTURED_ROLE_NS(), SecuredPatientToken.getSUBJECT_STRUCTURED_ROLE());
        cms.addClaimType(SecuredPatientToken.getSUBJECT_FUNCTIONAL_ROLE_NS(), SecuredPatientToken.getSUBJECT_FUNCTIONAL_ROLE());
        cms.addClaimType(SecuredPatientToken.getSUBJECT_PURPOSE_OF_USE_NS(), SecuredPatientToken.getSUBJECT_PURPOSE_OF_USE());
        //get and set hl7 permissions
        Set permSet = SecuredPatientToken.getSUBJECT_PERMISSIONS();
        List permList = new LinkedList();
        Iterator iter = permSet.iterator();
        while (iter.hasNext()) {
            permList.add((String)iter.next());
        }
        cms.addClaimType(SecuredPatientToken.getSUBJECT_PERMISSIONS_NS(), permList);

        //resource claims
        cms.addClaimType(SecuredPatientToken.getRESOURCE_ID_NS(), SecuredPatientToken.getRESOURCE_ID());
        cms.addClaimType(SecuredPatientToken.getRESOURCE_TYPE_NS(), SecuredPatientToken.getRESOURCE_TYPE());
        cms.addClaimType(SecuredPatientToken.getRESOURCE_ACTION_ID_NS(), SecuredPatientToken.getRESOURCE_ACTION_ID());



Craig Forster wrote:
OF1C45DBA9.87ED67E8-ON4A2576D2.001C90AE-4A2576D2.001CAE41@au1.ibm.com" type="cite">
Hi Duane,

The IBM STS is up and running at:

https://ibmaus27.lnk.telstra.net/FIM/TrustServerWST13/services/RequestSecurityToken

Only one user is configured:  drbob / xspa.

What other users should I enter, and what attributes need to be returned
for them?

Regards,
Craig

---
craig forster | staff software engineer | ibm australia development labs
http://blogs.tap.ibm.com/weblogs/craigforster/


---------------------------------------------------------------------
To unsubscribe from this mail list, you must leave the OASIS TC that
generates this mail.  Follow this link to all your TCs in OASIS at:
https://www.oasis-open.org/apps/org/workgroup/portal/my_workgroups.php 


  


[Date Prev]  |  [Thread Prev]  |  [Thread Next]  |  [Date Next]   —  [Date Index]  |  [Thread Index]  |  [Month Index]  |  [List Home]