Skip to content

Instantly share code, notes, and snippets.

[2016-11-23 21:19:32,051] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2016-11-23 21:19:32,052] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Linux 3.13.0-101-generic, amd64
[2016-11-23 21:19:32,052] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /usr/lib/jvm/java-8-oracle/jre
[2016-11-23 21:19:32,052] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_111
[2016-11-23 21:19:32,052] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.111-b14,Oracle Corporation
[2016-11-23 21:19:32,053] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Carbon Home : /home/farazath/IS/product-is/wso2is-5.3.0-SNAPSHOT
[2016-11-23 21:19:32,053] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Temp Dir : /home/farazath/IS/product-is/wso2is-5.3.0-SNAPSHOT/tmp
[2016-11-23 21:19:32,053] INFO {o
@Path ("/basicAuth")
@Source (interface="default")
package org.iml.authenticators;
constant endpoint authEP = new EndPoint("http://localhost:8290/authenticate/");
constant endpoint spResponseEP = new EndPoint("http://localhost:8290/travelocity/response");
@POST
@Path ("/")
resource login (message m) {
Copyright (c) $today.year, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
mvn versions:update-properties -Dincludes=org.wso2.carbon.identity.*
./org.wso2.carbon.identity.application.authenticator.iwa_5.1.2.jar
./org.wso2.carbon.identity.provisioning.connector.spml_5.1.1.jar
./org.wso2.carbon.identity.entitlement.ui_5.2.2.jar
./org.wso2.carbon.identity.sso.saml.stub_5.1.2.jar
./org.wso2.carbon.identity.provisioning_5.2.2.jar
./org.wso2.carbon.identity.application.authenticator.requestpath.basicauth_5.1.2.jar
./org.wso2.carbon.identity.authenticator.thrift_5.2.2.jar
./org.wso2.carbon.identity.workflow.impl_5.1.2.jar
./org.wso2.carbon.identity.sts.mgt_5.1.2.jar
./org.wso2.carbon.identity.sts.mgt.stub_5.1.2.jar
@mefarazath
mefarazath / multiThreadedServer.py
Last active May 13, 2019 06:03
Multithreaded Python HTTP Server
#!/bin/env python
import SocketServer
import BaseHTTPServer
import SimpleHTTPServer
class ThreadingSimpleServer(SocketServer.ThreadingMixIn,
BaseHTTPServer.HTTPServer):
pass
identity.local.auth.basicauth
identity.outbound.auth.oidc
identity.carbon.auth.saml2
identity.inbound.auth.saml
identity.outbound.auth.samlsso
identity.inbound.auth.oauth
identity.inbound.auth.openid
identity.agent.sso
identity.inbound.auth.sts
identity.local.auth.fido
@mefarazath
mefarazath / buildAllExtensions.sh
Last active April 24, 2017 06:54 — forked from pulasthi7/buildAllExtensions.sh
Clones all the IS extensions repos
echo "building framework"
cd identity-framework
mvn clean install -Dmaven.test.skip=true
if [ $? -ne 0 ]
then
cd ..
echo Build failed at identity-framework
notify-send "Build failed at identity-framework"
exit 1
else
[2016-04-25 14:26:31,561] ERROR {org.wso2.carbon.identity.oauth2.OAuth2Service} - Error occurred while issuing the access token for Client ID : QgXcCj7Vrj7w9r_oAFPsJRkO5ska, User ID null, Scope : [] and Grant Type : authorization_code
java.lang.NullPointerException
at org.wso2.carbon.identity.oauth2.token.handlers.grant.AuthorizationCodeGrantHandler.validateGrant(AuthorizationCodeGrantHandler.java:156)
at org.wso2.carbon.identity.oauth2.token.AccessTokenIssuer.issue(AccessTokenIssuer.java:187)
at org.wso2.carbon.identity.oauth2.OAuth2Service.issueAccessToken(OAuth2Service.java:219)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.getAccessToken(OAuth2TokenEndpoint.java:246)
at org.wso2.carbon.identity.oauth.endpoint.token.OAuth2TokenEndpoint.issueAccessToken(OAuth2TokenEndpoint.java:110)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(D
[2016-04-16 23:02:35,050] ERROR {org.wso2.carbon.core.util.KeyStoreManager} - Error when retrieving the system governance registry
org.wso2.carbon.registry.core.exceptions.RegistryException: Failed to obtain the user realm for tenant: -1.
at org.wso2.carbon.registry.core.session.UserRegistry.init(UserRegistry.java:303)
at org.wso2.carbon.registry.core.session.UserRegistry.access$100(UserRegistry.java:60)
at org.wso2.carbon.registry.core.session.UserRegistry$2.run(UserRegistry.java:248)
at java.security.AccessController.doPrivileged(Native Method)
at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:245)
at org.wso2.carbon.registry.core.session.UserRegistry.<init>(UserRegistry.java:224)
at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getUserRegistry(EmbeddedRegistryService.java:427)
at org.wso2.carbon.registry.core.jdbc.EmbeddedRegistryService.getSystemRegistry(EmbeddedRegistryService.java:292)