/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2006 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: IDPProvidedNameIdentifier.java,v 1.2 2008/06/25 05:46:47 qcheng Exp $
* Portions Copyrighted 2014 ForgeRock AS
*/
/**
* This class has methods to create the <code>NameIdentifier</code>
* object provided by the Identity Provider.
*
* @supported.all.api
* @deprecated since 12.0.0
*/
/**
* Constructor creates <code>IDPProvidedNameIdentifier</code> object.
*
* @param name the Identity Provider name.
* @param nameQualifier
* @param format
* @throws SAMLException on error.
*/
}
/**
* Constructor creates <code>IDPProvidedNameIdentifier</code> object
* from Document Element.
*
* @param idpProvidedNameIdentifierElement the Document Element.
* @throws FSMsgException on error.
*/
throws FSMsgException {
+ "local name missing");
}
}
+ "invalid root element");
}
}
}
}
+ "null input specified");
}
} else {
}
}
/**
* Constructor creates <code> IDPProvidedNameIdentifier</code> object.
*
* @param securityDomain
* @param name
* @throws FSMsgException on error.
*/
public IDPProvidedNameIdentifier(
) throws FSMsgException {
+ "null input specified");
}
}
if(securityDomain==null)
setNameQualifier("");
else
}
/**
* Sets the <code>MinorVersion</code> attribute.
*
* @param version the <code>MinorVersion</code> attribute.
* @see #getMinorVersion()
*/
}
/**
* Returns the <code>MinorVersion</code> attribute.
*
* @return the <code>MinorVersion</code> attribute.
* @see #setMinorVersion(int)
*/
public int getMinorVersion() {
return minorVersion;
}
/**
* Returns the string representation of this object.
*
* @return a string containing the valid <code>XML</code> for this element
* @throws FSMsgException if there is an error creating
* <code>XML</code> string from this object.
*/
return xml;
}
/**
* Returns the string representation of this object.
*
* @param includeNS determines whether or not the namespace qualifier
* is prepended to the Element when converted
* @param declareNS : Determines whether or not the namespace is declared
* within the Element.
* @return a string containing the valid <code>XML</code> for this element
* @throws FSMsgException if there is an error creating
* <code>XML</code> string from this object.
*/
) throws FSMsgException {
if (declareNS) {
} else {
}
}
if ((getNameQualifier() != null) &&
}
}
}
}
}