|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.identity.federation.bindings.tomcat.sp.SPUtil
public class SPUtil
Common code useful for a SP
| Constructor Summary | |
|---|---|
SPUtil()
|
|
| Method Summary | |
|---|---|
AuthnRequestType |
createSAMLRequest(java.lang.String serviceURL,
java.lang.String identityURL)
Create a SAML2 auth request |
java.security.Principal |
handleSAMLResponse(org.apache.catalina.connector.Request request,
ResponseType responseType)
Handle the SAMLResponse from the IDP |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SPUtil()
| Method Detail |
|---|
public AuthnRequestType createSAMLRequest(java.lang.String serviceURL,
java.lang.String identityURL)
throws java.lang.Exception
serviceURL - URL of the serviceidentityURL - URL of the identity provider
java.lang.Exception
public java.security.Principal handleSAMLResponse(org.apache.catalina.connector.Request request,
ResponseType responseType)
throws java.lang.Exception
request - entire request from IDPresponseType - ResponseType that has been generatedserverEnvironment - tomcat,jboss etc
java.lang.Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||