/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2005 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: IdType.java,v 1.9 2008/08/19 19:09:10 veiming Exp $
*
* Portions Copyrighted 2015 ForgeRock AS.
*/
/**
* The class <code>IdType</code> defines the types of supported identities,
* and provides static constants for these identities. Currently defined
* identities are <code>IdType.USER</code>, <code>IdType.ROLE</code>,
* <code>IdType.GROUP</code> and <code>IdType.AGENT</code>. The usage of
* the respective types are defined along with their declaration.
*
* @supported.all.api
*/
}
/**
* Identity type of USER
*/
/**
* Identity type of ROLE
*/
/**
* Identity type of GROUP
*/
/**
* Identity type of AGENT
* Also from OpenSSO 8.0 onwards, this is the Identity type of
* the union of agents and those under the agent groups.
*/
/**
* Identity type of filter role.
*/
/**
* Identity type of OpenAM agent only.
*/
/**
* Identity type of OpenAM agents under the OpenAM
* agent groups.
*/
}
return (false);
}
return ("IdType: " + idType);
}
/**
* Returns the hash code of the object
*/
public int hashCode() {
}
/**
* Returns the name of this type, for example <code> user </code> for type
* User.
*
* @return Name of the this type.
*/
return idType;
}
/**
* Returns a set of types of identities this type can hav as its' members.
*
* @return Set of <code>IdType</code> which can be members of this
* identity type.
*/
}
/**
* Returns a set of types of identities that this type can be a member of.
*
* @return Set of <code>IdType</code>.
*/
}
/**
* Returns a set of types of identities that this type can add as members.
*
* @return Set of <code>IdType</code>.
*/
}
}