Menu
  • HOME
  • TAGS

picketlink-sts ws-trust mustunderstand header

soap,cxf,jboss7.x,ws-trust,picketlink

I found the answer, I post it here, it could help someone. You need to define a new SOAPHandler and link it to your webService endpoint. This is done by annotating the endpoint with: @HandlerChain(file = "soap-handler.xml") For example: package org.picketlink.identity.federation.app.sts; /** * imports... */ @WebServiceProvider(serviceName = "PicketLinkSTS", portName =...

Implementing Service Provider, IdP and user in java with SAML (POC) [closed]

java,web-services,java-ee,saml-2.0,ws-trust

After a lot of gooogle finally I found this website which will help step by step that how to setup SAML. http://wiki.servicenow.com/index.php?title=SAML_2.0_Web_Browser_SSO_Profile ...

Implement Office 365 styled Basic Authentication (Active Profile)

asp.net,wif,adfs,ws-federation,ws-trust

I found the answer on the blog: http://leandrob.com/2012/04/requesting-a-token-from-adfs-2-0-using-ws-trust-with-username-and-password/ What this code essentially does is that it directly authenticates with the tenant's ADFS endpoint and gets a token as well. That's what I was looking for. var stsEndpoint = "https://[server]/adfs/services/trust/13/UsernameMixed"; var relayPartyUri = "https://localhost:8080/WebApp"; var factory = new WSTrustChannelFactory( new UserNameWSTrustBinding(SecurityMode.TransportWithMessageCredential),...