wso2is

AxisFault: Missing wsse:Security header in request

旧城冷巷雨未停 提交于 2019-12-02 10:53:09
问题 I'm trying to build an application with a WSO2 Application server and Identity server. the soap server which is based on Axis2 Framework needs to have WS-Trust based Authentication. For learning, I'm following this blog http://www.vitharana.org/2015/01/how-ws-trust-sts-works-in-wso2-identity.html At the end when I run the sample application I get following error. Sample Application is from https://github.com/ajithnv/blog_resources/tree/master/sts-client org.apache.axis2.AxisFault: Missing

WSO2 IS login with Radius / Kerberos

一曲冷凌霜 提交于 2019-12-02 10:50:35
The picture bellow shows the architecture that I need to deploy, and it explains my problem. I already designed a sub system that contains a set of applications (web services, web applications) deployed in apache tomcat. To provide the SSO functionality to my sub-system I used the WSO2 Identity Server with SAML2.0 to authenticate users and get access to all sub-system applications. This sub system is destined to be integrated into enterprises environment and work together with enterprise components. Now I need that enterprise users get access to my applications (of sub-system) there is two

WSO2 IS 5.1.0 Empty SignatureValue and DigestValue in SAML Assertion

自古美人都是妖i 提交于 2019-12-02 07:44:23
When I get SAML Assertion from Identity Server, DigestValue and SignatureValue are empty :\ Assertion: <?xml version="1.0" encoding="UTF-8"?><saml2:Assertion xmlns:saml2="urn:oasis:names:tc:SAML:2.0:assertion" ID="lhgklipdcdifghfbehlmdbbghndlgdpbdeggppjd" IssueInstant="2016-12-28T10:22:35.668Z" Version="2.0" xmlns:xs="http://www.w3.org/2001/XMLSchema"><saml2:Issuer Format="urn:oasis:names:tc:SAML:2.0:nameid-format:entity">localhost</saml2:Issuer><ds:Signature xmlns:ds="http://www.w3.org/2000/09/xmldsig#"><ds:SignedInfo><ds:CanonicalizationMethod Algorithm="http://www.w3.org/2001/10/xml-exc

WSO2 IS Single Logout partially working

夙愿已清 提交于 2019-12-02 07:20:43
I am testing SAML SSO using WSO2 Identity Server 5.0.0 with two PHP application instances as service providers (using onelogin phpsaml). I managed to make the single sign on to work but now I'm facing a problem with single logout. When I trigger a logout request from the PHPApp1, WSO2 IDP responds with a logout response and it seems to works fine; WSO2 IDP triggers a logout request to the saml session particants, in this case to the PHPApp2; The PHPApp2 handles the logout request and redirect to the WSO2 IDP logout url with the LogoutResponse; And now the issue: WSO2 does not seems to handle

Unable to publish XACML policy in wso2 application manager and throwing NoSuchMethodError exception

大兔子大兔子 提交于 2019-12-02 04:37:30
I followed the steps provided by the below links to create a policy in the wso2 application manager and publshing http://wso2.com/library/articles/2014/02/use-of-wso2-api-manager-to-validate-fine-grained-policy-decisions-using-xacml/ After created the XACML Policy trying to publish it to PDP,getting the following error [2014-09-15 15:52:53,007] ERROR - ApplicationDispatcher Servlet.service() for servlet bridgeservlet threw exception java.lang.NoSuchMethodError: org.wso2.carbon.identity.entitlement.stub.EntitlementPolicyAdminServiceStub.publishPolicies([Ljava g;Ljava/lang/String;ZI)V at org

How to configure WSO2 API Manager 2.1.0 to work with Identity Server 5.3.0

人盡茶涼 提交于 2019-12-02 04:14:21
问题 I made the whole configuration of this link: https://docs.wso2.com/display/AM210/Configuring+WSO2+Identity+Server+as+a+Key+Manager and now I get this error when I make a request for my API: <ams:fault xmlns:ams="http://wso2.org/apimanager/security"> <ams:code>900908</ams:code> <ams:message>Resource forbidden </ams:message> <ams:description>Access failure for API: /test/1.0.0, version: 1.0.0 status: (900908) - Resource forbidden </ams:description> </ams:fault> Can anybody help me? 回答1:

AxisFault: Missing wsse:Security header in request

纵饮孤独 提交于 2019-12-02 04:03:05
I'm trying to build an application with a WSO2 Application server and Identity server. the soap server which is based on Axis2 Framework needs to have WS-Trust based Authentication. For learning, I'm following this blog http://www.vitharana.org/2015/01/how-ws-trust-sts-works-in-wso2-identity.html At the end when I run the sample application I get following error. Sample Application is from https://github.com/ajithnv/blog_resources/tree/master/sts-client org.apache.axis2.AxisFault: Missing wsse:Security header in request at org.apache.rampart.handler.RampartReceiver

Cross-Domain Ajax Requests WSO2 IS

别说谁变了你拦得住时间么 提交于 2019-12-02 03:00:48
curl -v -X POST -H "Authorization: Basic <base64 encoded client id:client secret value>" -k -d "grant_type=password&username=<username>&password=<password>" -H "Content-Type:application/x-www-form-urlencoded" https://localhost:9443/oauth2/token (from https://docs.wso2.com/display/IS520/Resource+Owner+Password+Credentials+Grant ) This 'curl' command works perfectly. But when try to call it through ajax: $.ajax({ type: 'POST', data: 'grant_type=password&username=admin&password=admin', headers: { 'Content-Type': 'application/x-www-form-urlencoded', 'Authorization': 'Basic

Wso2IS skip authenticationendpoint/login.do

谁说我不能喝 提交于 2019-12-01 23:51:19
Using java client, I have generated the SAMLRequest string Is there a way to post the whole data, and skip the IdentityServer login page? With the data which I pass, has to meet the authentication for SSO and then generate Oauth2Token. You can use request path authentication and send the username, password in the same request, which will give you the SAML assertion. You can later use SAML2 bearer grant type to exchange that assertion to an oauth token. 来源: https://stackoverflow.com/questions/40932541/wso2is-skip-authenticationendpoint-login-do

WSO2 Identity Server managing users and roles through API

我怕爱的太早我们不能终老 提交于 2019-12-01 18:10:48
问题 I need to create and manage users in WSO2 Identity Server 3.2.3 through API, I've tried the code sample from http://blog.facilelogin.com/2010/05/managing-users-and-roles-with-wso2.html but is out of date. Is there any way of managing users and roles without the WSO2 user interface? 回答1: All management services in WSO2 Carbon, have been exposed as Web Service API. For user management, you can use UserAdmin API, where you can do all management functions related to users and roles in the user