com.sun.xml.wss.saml.AuthnStatement Maven / Gradle / Ivy
/*
* Copyright (c) 2010, 2022 Oracle and/or its affiliates. All rights reserved.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Distribution License v. 1.0, which is available at
* http://www.eclipse.org/org/documents/edl-v10.php.
*
* SPDX-License-Identifier: BSD-3-Clause
*/
/*
* AuthenticationStatement.java
*
* Created on August 18, 2005, 12:30 PM
*
*/
package com.sun.xml.wss.saml;
import java.util.Date;
/**
* The AuthenticationStatement
element supplies a
* statement by the issuer that its subject was authenticated by a
* particular means at a particular time. The
* AuthenticationStatement
element is of type
* AuthenticationStatementType
, which extends the
* SubjectStatementAbstractType
with the additional element and
* attributes.
*
* The following schema fragment specifies the expected content contained within SAML
* AuthenticationStatement element.
*
*
* <complexType name="AuthenticationStatementType">
* <complexContent>
* <extension base="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectStatementAbstractType">
* <sequence>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}SubjectLocality" minOccurs="0"/>
* <element ref="{urn:oasis:names:tc:SAML:1.0:assertion}AuthorityBinding" maxOccurs="unbounded" minOccurs="0"/>
* </sequence>
* <attribute name="AuthenticationInstant" use="required" type="{http://www.w3.org/2001/XMLSchema}dateTime" />
* <attribute name="AuthenticationMethod" use="required" type="{http://www.w3.org/2001/XMLSchema}anyURI" />
* </extension>
* </complexContent>
* </complexType>
*
*
*/
public interface AuthnStatement {
/**
* Gets the value of the authnInstant property.
*
* @return object is {@link java.util.Date }
*
*/
Date getAuthnInstantDate();
/**
* Gets the value of the sessionIndex property.
*
* @return object is {@link java.lang.String }
*
*/
String getSessionIndex();
/**
* Gets the value of the sessionNotOnOrAfter property.
*
* @return object is {@link java.util.Date }
*
*/
Date getSessionNotOnOrAfterDate();
/**
* Gets the value of the SubjectLocality address property.
*
* @return object is {@link java.lang.String }
*
*/
String getSubjectLocalityAddress();
/**
* Gets the value of the SubjectLocality dnsName property.
*
* @return object is {@link java.lang.String }
*
*/
String getSubjectLocalityDNSName();
/**
* Gets the value of the AuthnContext's AuthnContextClassRef property.
*
* @return object is {@link java.lang.String }
*
*/
String getAuthnContextClassRef();
/**
* Gets the value of the AuthnContext's AuthenticatingAuthority property.
*
* @return object is {@link java.lang.String }
*
*/
String getAuthenticatingAuthority();
}