More Related Content Similar to CIS14: Building a Plug-in with the PingAccess SDK (20) More from CloudIDSummit (20) CIS14: Building a Plug-in with the PingAccess SDK2. BUILDING A PLUG-IN WITH
THE PINGACCESS SDK
Jason Musgrave
Senior Software Engineer
Copyright © 2014 Ping Identity Corp.All rights reserved. 2
3. Me
Copyright © 2014 Ping Identity Corp.All rights reserved. 3
Image:Apple II tranparent 800 / CC-BY-SA-2.0-fr / Devin Cook (editing) Rama & Musée Bolo - Own work
4. Web & API Access Management
Copyright © 2014 Ping Identity Corp.All rights reserved. 4
8. Via Maven
http://maven.pingidentity.com/release/
Copyright © 2014 Ping Identity Corp.All rights reserved. 8
How to access?
Via the Install
{PA-INSTALL-PATH}/sdk/samples/
README.md
<dependency>
<groupId>com.pingidentity.pingaccess</groupId>
<artifactId>pingaccess-sdk</artifactId>
<version>3.0.0</version>
</dependency>
9. Flashdrive
Copyright © 2014 Ping Identity Corp.All rights reserved. 9
• Clone of Git Repo
– Markdown Instructions
– Sample
• PingAccess
– SDK
• License
• demo-simple-webapp
10. Git repo before / after
Copyright © 2014 Ping Identity Corp.All rights reserved. 10
https://github.com/pingidentity/CIS-2014-PingAccess-3.0-SDK-Demo
• Branches
– master
– BEGIN
– RENDERUI
– CONFIGURE
11. What’s in the SDK?
Copyright © 2014 Ping Identity Corp.All rights reserved. 11
SDK
Transactional
Rule Site Authenticator
UI
Render HttpConfig UserData
12. Http?
Copyright © 2014 Ping Identity Corp.All rights reserved. 12
What about
javax.servlet.http.HttpServletRequest?
13. Copyright © 2014 Ping Identity Corp.All rights reserved. 13
com.pingidentity.pa.sdk.http
Request
Response
Exchange
Header
HeaderFields
Body
Header
HeaderFields
Body
19. Describe / Configure / Validate
Copyright © 2014 Ping Identity Corp.All rights reserved. 19
• Describe à Annotations or Builder
– com.pingidentity.pa.sdk.ui.UIElement
– com.pingidentity.pa.sdk.ui.ConfigurationBuilder
• Configure à Jackson Mapping and Lifecycle methods.
• Validate à javax.validation.Constraint