Class Saml2Assertion
java.lang.Object
com.tremolosecurity.saml.Saml2Assertion
-
Constructor Summary
ConstructorDescriptionSaml2Assertion
(String subject, PrivateKey key, X509Certificate cert, X509Certificate encCert, String issuer, String recepient, String audience, boolean signAssertion, boolean signResponse, boolean encAssertion, String nameIDFormat, String authnContextRef) Saml2Assertion
(String subject, PrivateKey key, X509Certificate cert, X509Certificate encCert, String issuer, String recepient, String audience, boolean signAssertion, boolean signResponse, boolean encAssertion, String nameIDFormat, String authnContextRef, int minAlive) -
Method Summary
Modifier and TypeMethodDescriptionorg.joda.time.DateTime
org.joda.time.DateTime
-
Constructor Details
-
Saml2Assertion
public Saml2Assertion(String subject, PrivateKey key, X509Certificate cert, X509Certificate encCert, String issuer, String recepient, String audience, boolean signAssertion, boolean signResponse, boolean encAssertion, String nameIDFormat, String authnContextRef) -
Saml2Assertion
public Saml2Assertion(String subject, PrivateKey key, X509Certificate cert, X509Certificate encCert, String issuer, String recepient, String audience, boolean signAssertion, boolean signResponse, boolean encAssertion, String nameIDFormat, String authnContextRef, int minAlive)
-
-
Method Details
-
generateSaml2Response
-
getAttribs
-
getSubject
-
getAuthMethod
-
getNotBefore
public org.joda.time.DateTime getNotBefore() -
getNotAfter
public org.joda.time.DateTime getNotAfter()
-