OldProvidedNameIdentifier.java revision 9f262a16efd2216a0d2a6792b8a13eba2756bacb
/**
* 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: OldProvidedNameIdentifier.java,v 1.2 2008/06/25 05:46:47 qcheng Exp $
* Portions Copyrighted 2014 ForgeRock AS
*/
/**
* This class has methods to create the original <code>NameIdentifier</code>
* object.
*
* @supported.all.api
* @deprecated since 12.0.0
*/
public class OldProvidedNameIdentifier extends NameIdentifier {
/**
* Constructor to create <code>OldProvidedNameIdentifier</code> object.
*
* @param name
* @param nameQualifier
* @param format
* @throws SAMLException on error.
*/
}
/**
* Constructor to create <code>OldProvidedNameIdentifier</code> Object
* from Document Element.
*
* @param oldProvidedNameIdentifierElement the Document Element.
* @throws FSMsgException if object cannot be created.
*/
public OldProvidedNameIdentifier(
) throws FSMsgException {
+ "local name missing");
}
}
+ "invalid root element");
}
}
}
}
+ "null input specified");
}
} else {
}
}
/**
* Constructor creates <code>OldProvidedNameIdentifier</code> object.
*
* @param securityDomain
* @param name
* @throws FSMsgException it there is an error creating this object.
*/
public OldProvidedNameIdentifier(
) throws FSMsgException {
+ "null input specified");
}
}
if(securityDomain==null)
setNameQualifier("");
else
}
/**
* Sets the <code>MinorVersion</code>.
*
* @param version the <code>MinorVersion</code>.
* @see #getMinorVersion()
*/
public void setMinorVersion(int version) {
}
/**
* Returns the <code>MinorVersion</code>.
*
* @return the <code>MinorVersion</code>.
* @see #setMinorVersion(int)
*/
public int getMinorVersion() {
return minorVersion;
}
/**
* Returns a String representation of this object.
*
* @return a String representation of this object.
* @throws FSMsgExceptionif there is an error converting
* this object to a string.
*/
return xml;
}
/**
* Returns a 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 <code>XML</code>String representation of this object.
* @throws FSMsgException if there is an error converting
* this object to a string.
*/
throws FSMsgException {
if (declareNS) {
} else {
}
}
if ((getNameQualifier() != null) &&
}
}
}
}
}