Skip to content

A client library which might make Whydah integration more easy and more resilient

License

Notifications You must be signed in to change notification settings

altran/_Whydah-Java-SDK

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Whydah-Java-SDK

A client library which aimed to make Whydah integration more easy and more resilient

  • XML and JSON parsing of Whydah datastructures sent over the wire.
  • Client logic for using Whydah Web SSO - SSOLoginWebapp (SSOLWA).
    • The Java SDK is in a really early stage, and is currently used to experiment with a new remoting approach to increase system resilliance

For code and examples for other languages, see https://github.com/cantara/Whydah-TestWebApp

Example code

        //
        String userToken = WhydahUtil.logOnApplicationAndUser("https://whydahdev.altrancloud.com/tokenservice/",\\
                           "applicationID","applicationSecret", "username", "password");
        String userTokenId = UserXpathHelper.getUserTokenId(userToken);

Binaries

Binaries and dependency information for Maven, Ivy, Gradle and others can be found at http://mvnrepo.cantara.no.

Example for Maven:

        <dependency>
            <groupId>net.whydah.sso</groupId>
            <artifactId>Whydah-Java-SDK</artifactId>
            <version>x.y.z</version>
        </dependency>

LICENSE

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, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

About

A client library which might make Whydah integration more easy and more resilient

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages