Authentication Token requirements for SSO with HI application

Token Format: Company=<tenant_name>|username=<username>|role=<role1,role2..>|profilename1=<profilevalue1,profilevalue2>|profilename2=<profilevalue3,profilevalue4>expTime=<timestamp>

Company=<organization_name>|username=<username>|role=<role1,role2..> |expTime=<timestamp>

Token mainly comprises of 5 parts separated by a “|” (pipe separator).

description

Token Encryption

Token generated in the given format, has to be encrypted to make it secure.

Chosen Encryption Algorithm details:

  1. Algorithm – AES
  2. Mode – ECB
  3. Padding – PKCS5Padding
  4. Secret Key – HSpnzzfCLqrBn8Lk(This is the secret key which is shared between the encryptor and the decryptor applications)
  5. Encrypted token is Base64 URL Safe encoded

Encryption logic used (java code snippet)

key = "HSpnzzfCLqrBn8Lk";
algorithm = "AES";
mode = "ECB";
padding = "PKCS5Padding";

Cipher cipher = Cipher.getInstance(algorithm + "/" + mode + "/" + padding);
SecretKeySpec secretKey = new SecretKeySpec(key.getBytes(), algorithm);
cipher.init(1, secretKey);

return Base64.encodeBase64URLSafeString(cipher.doFinal(strToEncrypt.getBytes()));

Token Samples for Testing

Below are few tokens and its encrypted form (using the shared secret key). This is to enable you to test your token generation and encryption logic. If the below tokens, when encrypted from your ruby code, match the provided encrypted values, it will mean that those tokens will get successfully decoded on the reporting application(Helical Insights) side.

Additional Information about the SSO Token

  1. username – loggedInUsername (mandatory parameter in the token)
  2. At present,
    • if a Company is not provided in the token, a user will be created in the organization mentioned in the properties file (Default Value)
    • if the Company is present, a Company will be created in the DB, by default ROLE_USER mapped with given Company name and user will be created in that Company (organization) and ROLE_USER will be assigned to that user
  3. we can assign multiple roles separated by a comma. By default ROLE_USER will be assigned to loggedInUser
  4. expTime –
    • Optional parameter in the token
    • If provided in the token, the token will be valid up to the date and time provided
    • If the zone is not provided in the token, by default it will take IST timezone (IST)

Note: After encrypting the token, it needs to be appended with Helical Insight URL, as shown in below example:

Application URL -> http://localhost:8085/hi-ee/

Encrypted_Token->fK2Nhi2JeqjcxJgOGBYKYLxYClDWRd5ysz6WWyyULIepW5kgZ7oFgoQB6PFTVHB9P3Iod6IBobUGcoVXIhh_Mg782DNbmtVbaGEjpnBS6no

Concatednated_URL:http://localhost:8085/hi-ee/hi.html?authToken=fK2Nhi2JeqjcxJgOGBYKYLxYClDWRd5ysz6WWyyULIepW5kgZ7oFgoQB6PFTVHB9P3Iod6IBobUGcoVXIhh_Mg782DNbmtVbaGEjpnBS6no

Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight’s self-service capabilities is one to reckon with. It allows you to simply drag and drop columns, add filters, apply aggregate functions if required, and create reports and dashboards on the fly. For advanced users, the self-service component has ability to add javascript, HTML, HTML5, CSS, CSS3 and AJAX. These customizations allow you to create dynamic reports and dashboards. You can also add new charts inside the self-service component, add new kind of aggregate functions and customize it using our APIs.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
Helical Insight, via simple browser based interface of Canned Reporting module, also allows to create pixel perfect printer friendly document kind of reports also like Invoice, P&L Statement, Balance sheet etc.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
If you have a product, built on any platform like Dot Net or Java or PHP or Ruby, you can easily embed Helical Insight within it using iFrames or webservices, for quick value add through instant visualization of data.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
Being a 100% browser-based BI tool, you can connect with your database and analyse across any location and device. There is no need to download or install heavy memory-consuming developer tools – All you need is a Browser application! We are battle-tested on most of the commonly used browsers.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
We have organization level security where the Superadmin can create, delete and modify roles. Dashboards and reports can be added to that organization. This ensures multitenancy.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
A first-of-its-kind Open-Source BI framework, Helical Insight is completely API-driven. This allows you to add functionalities, including but not limited to adding a new exporting type, new datasource type, core functionality expansion, new charting in adhoc etc., at any place whenever you wish, using your own in-house developers.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
It handles huge volumes of data effectively. Caching, Pagination, Load-Balancing and In-Memory not only provides you with amazing experience, but also and does not burden the database server more than required. Further effective use of computing power gives best performance and complex calculations even on the big data even with smaller machines for your personal use. Filtering, Sorting, Cube Analysis, Inter Panel Communication on the dashboards all at lightning speed. Thereby, making best open-source Business Intelligence solution in the market.
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
With advance NLP algorithm, business users simply ask questions like, “show me sales of last quarter”, “average monthly sales of my products”. Let the application give the power to users without knowledge of query language or underlying data architecture
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application is compatible with almost all databases, be it RDBMS, or columnar database, or even flat files like spreadsheets or csv files. You can even connect to your own custom database via JDBC connection. Further, our database connection can be switched dynamically based on logged in users or its organization or other parameters. So, all your clients can use the same reports and dashboards without worrying about any data security breech.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Our application can be installed on an in-house server where you have full control of your data and its security. Or on cloud where it is accessible to larger audience without overheads and maintenance of the servers. One solution that works for all.
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered
Different companies have different business processes that the existing BI tools do not encompass. Helical Insight permits you to design your own workflows and specify what functional module of BI gets triggered