|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfr.paris.lutece.plugins.mylutece.modules.saml.authentication.engine.SAMLResponseManager
public class SAMLResponseManager
| Constructor Summary | |
|---|---|
SAMLResponseManager(org.opensaml.saml2.core.Response response)
|
|
| Method Summary | |
|---|---|
org.opensaml.saml2.core.Assertion |
getAssertion()
Retourne la premiᅵre (et seule) Assertion |
java.util.List<org.opensaml.saml2.core.Attribute> |
getAssertionAttributes()
Retourne la liste des attributs de l'assertion |
java.util.Map<java.lang.String,java.lang.String> |
getFilteredAssertionAttributesValues(java.util.List<org.opensaml.saml2.metadata.RequestedAttribute> requestedAttributes)
Retourne la Map des Name/Value des attributs monovaluᅵs de l'assertion valides vis-ᅵ-vis des requestedAttributes. |
java.util.List<java.lang.String> |
getLuteceUserGroups()
Rᅵcupere les valeurs de l'Attribut servant ᅵ construire le LuteceUser Groups dans l'Assertion . |
java.lang.String |
getLuteceUserName()
Rᅵcupere la valeur de l'Attribut servant ᅵ construire le LuteceUserName dans l'Assertion. |
org.opensaml.saml2.core.Response |
getResponse()
|
java.security.cert.X509Certificate |
getSignatureCertificate()
Retourne le certificat de signature de l'assertion |
void |
initialize(org.opensaml.saml2.core.Response response)
Initialise le manager avec la Response. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SAMLResponseManager(org.opensaml.saml2.core.Response response)
throws SAMLParsingException
response -
SAMLParsingException| Method Detail |
|---|
public void initialize(org.opensaml.saml2.core.Response response)
throws SAMLParsingException
response -
SAMLParsingExceptionpublic org.opensaml.saml2.core.Assertion getAssertion()
SAMLParsingException
public java.security.cert.X509Certificate getSignatureCertificate()
throws SAMLParsingException
CertificateValidationException
SAMLParsingExceptionpublic java.util.List<org.opensaml.saml2.core.Attribute> getAssertionAttributes()
SAMLParsingExceptionpublic java.util.Map<java.lang.String,java.lang.String> getFilteredAssertionAttributesValues(java.util.List<org.opensaml.saml2.metadata.RequestedAttribute> requestedAttributes)
requestedAttributes -
public java.lang.String getLuteceUserName()
SAMLParsingExceptionpublic java.util.List<java.lang.String> getLuteceUserGroups()
SAMLParsingExceptionpublic org.opensaml.saml2.core.Response getResponse()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||