Skip to content

Instantly share code, notes, and snippets.

mvn versions:update-properties -Dincludes=org.wso2.carbon.identity.*
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,
@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) {
[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
JAVA_HOME environment variable is set to /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home
CARBON_HOME environment variable is set to /Users/Omindu/Downloads/wso2is-5.2.0-beta
Using Java memory options: -Xms256m -Xmx1024m
[2016-06-05 13:49:00,072] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Starting WSO2 Carbon...
[2016-06-05 13:49:00,073] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Operating System : Mac OS X 10.10.1, x86_64
[2016-06-05 13:49:00,073] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Home : /Library/Java/JavaVirtualMachines/jdk1.8.0_20.jdk/Contents/Home/jre
[2016-06-05 13:49:00,073] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java Version : 1.8.0_20
[2016-06-05 13:49:00,073] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - Java VM : Java HotSpot(TM) 64-Bit Server VM 25.20-b23,Oracle Corporation
[2016-06-05 13:49:00,074] INFO {org.wso2.carbon.core.internal.CarbonCoreActivator} - C
Server {
com.sun.security.auth.module.Krb5LoginModule required
useKeyTab=false
storeKey=true
useTicketCache=false
isInitiator=false;
};
Client {
com.sun.security.auth.module.Krb5LoginModule required
#!/usr/bin/env bash
notify-send "Building C5 framework"
FRAMEWORK="/home/farazath/IS/identity-framework"
FRAMEWORK_BRANCH="C5-Framework_PoC"
PRODUCT_IS="/home/farazath/IS/product-is"
PRODUCT_IS_BRANCH="C5-framework_PoC"
[2016-12-14 14:28:27,165] ERROR {org.wso2.carbon.identity.core.internal.IdentityCoreServiceComponent} - Error occurred while populating identity configuration properties
org.wso2.carbon.identity.base.IdentityRuntimeException: Error occurred while executing : IF NOT EXISTS (SELECT * FROM SYS.OBJECTS WHERE OBJECT_ID = OBJECT_ID(N'[DBO].[IDN_CLAIM_MAPPING]') AND TYPE IN (N'U')) CREATE TABLE IDN_CLAIM_MAPPING ( ID INTEGER NOT NULL IDENTITY, EXT_CLAIM_ID INTEGER NOT NULL, MAPPED_LOCAL_CLAIM_ID INTEGER NOT NULL, TENANT_ID INTEGER NOT NULL, PRIMARY KEY (ID), FOREIGN KEY (EXT_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE, FOREIGN KEY (MAPPED_LOCAL_CLAIM_ID) REFERENCES IDN_CLAIM(ID) ON DELETE CASCADE, CONSTRAINT EXT_TO_LOCAL_UNIQUE_MAPPING_CONSTRAINT UNIQUE (EXT_CLAIM_ID, TENANT_ID) )
at org.wso2.carbon.identity.base.IdentityRuntimeException.error(IdentityRuntimeException.java:162)
at org.wso2.carbon.identity.core.persistence.IdentityDBInitializer.executeSQL(IdentityDBInitializer.java:351)
at org.wso2.ca
<Connector protocol="org.apache.coyote.http11.Http11NioProtocol"
port="9763"
redirectPort="9443"
bindOnInit="false"
maxHttpHeaderSize="8192"
acceptorThreadCount="2"
maxThreads="250"
minSpareThreads="50"
disableUploadTimeout="false"
connectionUploadTimeout="120000"
TID: [-1] [] [2017-01-27 15:55:10,293] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "GET /pizzashack/1.0.0/menu HTTP/1.1[\r][\n]" {org.apache.synapse.transport.http.wire}
TID: [-1] [] [2017-01-27 15:55:10,295] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "Host: 172.18.0.1:8243[\r][\n]" {org.apache.synapse.transport.http.wire}
TID: [-1] [] [2017-01-27 15:55:10,295] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "User-Agent: curl/7.50.1[\r][\n]" {org.apache.synapse.transport.http.wire}
TID: [-1] [] [2017-01-27 15:55:10,295] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "Accept: application/json[\r][\n]" {org.apache.synapse.transport.http.wire}
TID: [-1] [] [2017-01-27 15:55:10,295] DEBUG {org.apache.synapse.transport.http.wire} - HTTPS-Listener I/O dispatcher-2 >> "Authorization: Bearer d628b847-04e6-3250-a371-ea430e90ca0f[\r][\n]" {org.apache.synapse.tran