Skip to content

An alternative to the seal.java library, but for modern VMs and with no 3rd party dependencies

Notifications You must be signed in to change notification settings

trifork/unsealed

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unsealed

Unsealed is an alternative to the seal.java library, but for modern VMs and with no 3rd party dependencies (i.e., Unsealed is based directly on the Java Cryptography API bundled with Java - no 3rd party xml security or saml library is used).

The focus of Unsealed is to facilitate calling the ticket exchange services that are offered by SOSI STS for use in the danish healthcare sector. These are typically needed by web service clients that calls DGWS and IDWS enabled SOAP services. Unsealed provides a simplified way of invoking the ticket exchange services through an easy-to-use builder pattern.

NOTE: There is currently very limited support for server side validation!

Supported exchange operations

  • NewSecurityTokenService: SOSI Idcard -> STS signed Idcard
  • Sosi2OIOSaml: STS signed Idcard -> OIOSAML token (SBO token)
  • OIOSaml2Sosi: OIOSAML token -> idcard
  • BST2SOSI: Bootstrap token -> OIOSAML token
  • Bst2Idws: Bootstrap token -> IDWS token
  • JWT2Idws: JWT token -> IDWS token
  • JWT2OIOSaml: JWT token -> OIOSAML token (not yet implemented)

A seconday use of Unsealed is for issuing OIOSAML assertions and bootstrap tokens (OIOSAMLTokenIssuer+BootstrapTokenIssuer). This is primarily intended for test purposes..

Example usages

See src/test/java/com/trifork/unsealed/*Test.java

About

An alternative to the seal.java library, but for modern VMs and with no 3rd party dependencies

Resources

Stars

Watchers

Forks

Packages

 
 
 

Languages