![JAR search and dependency download from the Maven repository](/logo.png)
org.opensaml.saml1.core.NameIdentifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of opensaml Show documentation
Show all versions of opensaml Show documentation
The OpenSAML-J library provides tools to support developers working with the Security Assertion Markup Language
(SAML).
The newest version!
/*
* Licensed to the University Corporation for Advanced Internet Development,
* Inc. (UCAID) under one or more contributor license agreements. See the
* NOTICE file distributed with this work for additional information regarding
* copyright ownership. The UCAID licenses this file to You under the Apache
* License, Version 2.0 (the "License"); you may not use this file except in
* compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.opensaml.saml1.core;
import javax.xml.namespace.QName;
import org.opensaml.common.SAMLObject;
import org.opensaml.common.xml.SAMLConstants;
/** Interface to define how a NameIdentifier element behaves. */
public interface NameIdentifier extends SAMLObject {
/** Element name, no namespace. */
public static final String DEFAULT_ELEMENT_LOCAL_NAME = "NameIdentifier";
/** Default element name. */
public static final QName DEFAULT_ELEMENT_NAME = new QName(SAMLConstants.SAML1_NS, DEFAULT_ELEMENT_LOCAL_NAME,
SAMLConstants.SAML1_PREFIX);
/** Local name of the XSI type. */
public static final String TYPE_LOCAL_NAME = "NameIdentifierType";
/** QName of the XSI type. */
public static final QName TYPE_NAME = new QName(SAMLConstants.SAML1_NS, TYPE_LOCAL_NAME, SAMLConstants.SAML1_PREFIX);
/** Name for the attribute which defines Name Qualifier. */
public static final String NAMEQUALIFIER_ATTRIB_NAME = "NameQualifier";
/** Name for the attribute which defines Name Qualifier. */
public static final String FORMAT_ATTRIB_NAME = "Format";
/** URI for unspecified name format. */
public static final String UNSPECIFIED = "urn:oasis:names:tc:SAML:1.1:nameid-format:unspecified";
/** URI for email name format. */
public static final String EMAIL = "urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress";
/** URI for X509 subject name format. */
public static final String X509_SUBJECT = "urn:oasis:names:tc:SAML:1.1:nameid-format:X509SubjectName";
/** URI for windows domain qualified name name format. */
public static final String WIN_DOMAIN_QUALIFIED = "urn:oasis:names:tc:SAML:1.1:nameid-format:WindowsDomainQualifiedName";
/**
* Gets the name qualifier for this identifier.
*
* @return name qualifier for this identifier
*/
public String getNameQualifier();
/**
* Sets the name qualifier for this identifier.
*
* @param nameQualifier name qualifier for this identifier
*/
public void setNameQualifier(String nameQualifier);
/**
* Gets the format of this identifier.
*
* @return format of this identifier
*/
public String getFormat();
/**
* Sets the format of this identifier.
*
* @param format format of this identifier
*/
public void setFormat(String format);
/**
* Gets the identifier.
*
* @return the identifier
*/
public String getNameIdentifier();
/**
* Sets the identifier.
*
* @param nameIdentifier the identifier.
*/
public void setNameIdentifier(String nameIdentifier);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy