I am getting my hands on WSO2 UES server. I wrote an jaggery dashboard app and working fine. When porting the jaggery app to another UES server i have to manually register for the SAML sso. After manually configuring i am able to access. Is there any way to automate this?
Yes, you can configure to automate this. Go to /repository/conf/ and in the file sso-idp-config.xml add following configuration.
<ServiceProvider>
<Issuer>MyApp</Issuer>
<AssertionConsumerService>http://x.x.x.x:9763/MyApp/sso.jag</AssertionConsumerService>
<CustomLoginPage>ssoApp/login_processor.jag</CustomLoginPage>
</ServiceProvider>
But this is not recommended at all.
Related
I have written several webservices in Python and Ruby and would like to integrate them with WSO2 Integration Studio. I tried following the instructions on the docs about sending messages to services here but it's about Java microservices only. Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them? Thank you
You can only copy JAR files to the /wso2/msf4j/deployment/microservices folder and deploy them in the MSF4J profile of WSO2 EI.
Am I supposed to deploy my services elsewhere and only use http endpoints to integrate them?
Yes, This is the way to achieve this.
In wso2 how to deploy .car file in case of ESB and .bar in case of BPMN programatically. Is there any way of using remote deployment option programmatically(using JAVA).
You can use the admin services which are exposed as SOAP services to achieve the requirement. For example, you can use bellow endpoint to deploy Carbon Application(car file).
https://{esb-host-name}:{esb-management-console-port}/services/CarbonAppUploader
Also for BPMN(bar file), you can use bellow endpoint.
https://{bps-host-name}:{bps-management-console-port}/services/BPMNUploaderService
The blog post [1] will help to understand the flow.
I created a WSO2 proxy service using WSO2 Developer studio and would like to deploy it in the ESB in my local machine. If I create a CAR file and deploy it as in https://docs.wso2.com/display/DVS380/Deploying+a+C-App, it doesn't get deployed as a Proxy service. How can I deploy it as a proxy service?
This works without any problems. The only problem that I might think of, is that the proxy has the wrong server role assigned in the pom of the car project. To check this, do the following.
Click on the pom.xml of the car project
in the appearing form, check that in the dependency part the project you want to deploy is checked
expand the proxy artifact in the dependency view and verify that ServerRole is set to EnterpriseServiceBus
save if you have made any changes, create the car and deploy it
Hope that helps.
Regards
Martin
WSO2 experts
I downloaded the WSO2 AppFactory, but couldn't login into the web console with admin/admin. Has the default password changed?
Regards,
Terry
Please try with the following credentials
Username:admin#admin.com
password:admin
If you just tried with a downloaded 'binary' set-up of WSO2 App Factory; this will only allow you to log in to the Carbon admin console of the App Factory (If you just clicked on and visited the URL, that was printed on the server console). This Carbon admin console does not have any App Factory specific functionality which you might expect [WSO2 Carbon is the underlying platform which is used by all of the WSO2 products].
Since App Factory runs having few other servers alongside (such as WSO2 AS, WSO2 ELB, Jenkins, Redmine etc) this set up that you are running will not provide the same User interfaces or functionality which you have observed within the setup provided with https://appfactorypreview.wso2.com/samlsso .
I just thought to leave this answer, because; you would get disappointed after spending your time expecting the same Application (User Interfaces) available with the online setup (which I have mentioned with the hyperlink) by running the binary setup(wso2appfactory-1.0.0.zip) that you have downloaded from the WSO2 Web site.
WSO2 folks,
I'm looking at WSO2 Application Server, and I created a web app to invoke System.exit(), which brings down the whole app server. I'm asking because the apps from multiple tenants could be running on the same Application Server, and we need to prevent a malicous tenant from killing the whole JVM.
My first thought was to use a SecurityManager to restrict the access, but I'm not sure where should I set the SecurityManager, and how should I code the SecurityManager to ensure a secure app server.
Is SecurityManager the correct approach, or is there some other way to accomplish my requirement?
It has been protected using Java Security Manager and system is configured with policies ,which do not allow such calls.