public class AssertionModel extends SAMLXmlModel
コンストラクタと説明 |
---|
AssertionModel(org.opensaml.saml2.core.Assertion assertion)
コンストラクタ
|
修飾子とタイプ | メソッドと説明 |
---|---|
boolean |
checkRecipient(String assertionConsumerURL)
SubjectConfirmationのmethodがurn:oasis:names:tc:SAML:2.0:cm:bearerと一致しているか確認します。
|
boolean |
decrypt(List<org.opensaml.xml.security.credential.Credential> credentials)
Assertion内の要素を複合化します。
|
org.opensaml.saml2.core.Assertion |
getAssertion()
Assertionを取得します。
|
Map<String,String> |
getAttributeMap()
アサーション内の属性マップを取得します。
|
Collection<String> |
getAudience()
Conditions内のAudienceリスト取得します。
|
String |
getAuthnContextClassRef()
AuthnContextのAuthnContextClassRefを取得します。
|
org.joda.time.DateTime |
getConfirmationTime()
SubjectConfirmationDataのNotOnOrAfter日付を取得します。
|
org.joda.time.DateTime |
getExpireDate()
非推奨です。
アサーションの有効期間を取得する場合は
getNotOnOrAfter() を利用してください。 セッションの有効期間を取得する場合は getSessionNotOnOrAfter() を利用してください。 |
String |
getID()
AssertionのIDを取得します。
|
String |
getIssuer()
AssertionのIssuerを取得します。
|
org.joda.time.DateTime |
getNotOnOrAfter()
ConditionsのNotOnOrAfter日付を取得します。
|
String |
getSessionIndex()
AuthnStatementのSessionIndexを取得します。
|
org.joda.time.DateTime |
getSessionNotOnOrAfter()
AuthnStatementsのSessionNotOnOrAfter日付を取得します。
|
String |
getSubjectNameIDFormat()
SubjectのNameIDのフォーマットを取得します。
|
String |
getSubjectNameIDValue()
SubjectのNameIDの値を取得します。
|
boolean |
isAuthnStatement()
認証情報があるかを表します。
|
boolean |
isHolderOfKey()
SubjectConfirmationのMethodにurn:oasis:names:tc:SAML:2.0:cm:holder-of-keyがあるか確認します。
|
getXMLObject, hasSignature, prettyPrintXML, sign, sign, toXML, verifySignature
public AssertionModel(org.opensaml.saml2.core.Assertion assertion) throws SAMLApplicationException
assertion
- アサーションSAMLApplicationException
- SAML連携エラーpublic boolean checkRecipient(String assertionConsumerURL)
assertionConsumerURL
- assertionConsumerServiceのロケーションpublic boolean decrypt(List<org.opensaml.xml.security.credential.Credential> credentials) throws SAMLApplicationException
credentials
- 資格情報SAMLApplicationException
- SAML連携エラーpublic org.opensaml.saml2.core.Assertion getAssertion()
public Collection<String> getAudience()
public String getAuthnContextClassRef()
public org.joda.time.DateTime getConfirmationTime()
@Deprecated public org.joda.time.DateTime getExpireDate()
getNotOnOrAfter()
を利用してください。 getSessionNotOnOrAfter()
を利用してください。ConditionsのNotOnOrAfterまたはAuthnStatementsのSessionNotOnOrAfterのどちらか期間の短いほうが有効期限となります。
public String getID()
public String getIssuer()
public org.joda.time.DateTime getNotOnOrAfter()
public String getSessionIndex()
public org.joda.time.DateTime getSessionNotOnOrAfter()
public String getSubjectNameIDFormat()
public String getSubjectNameIDValue()
public boolean isAuthnStatement()
public boolean isHolderOfKey()
Copyright © 2012 NTT DATA INTRAMART CORPORATION