/*
* 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: IdServices.java,v 1.10 2010/01/06 01:58:26 veiming Exp $
*
* Portions Copyrighted 2015 ForgeRock AS.
*/
public interface IdServices {
throws IdRepoException, AuthLoginException;
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
throws SSOException, IdRepoException;
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
/**
* By passing in a CrestQuery object, we now support searching by id (via _queryId) or by filter (_queryFilter).
*
* @param token is the sso token of the person performing this operation.
* @param type is the identity type of the name parameter.
* @param ctrl the search control
* @param amOrgName is the orgname.
* @param crestQuery encapsulates _queryId or _queryFilter from the CREST endpoint.
* @throws IdRepoException if there are repository related error conditions.
* @throws SSOException if user's single sign on token is invalid.
*/
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
throws IdRepoException, SSOException;
/**
* Non-javadoc, non-public methods
* Get the service attributes of the name identity. Traverse to the global
* configuration if necessary until all attributes are found or reached
* the global area whichever occurs first.
*
* @param token is the sso token of the person performing this operation.
* @param type is the identity type of the name parameter.
* @param name is the identity we are interested in.
* @param serviceName is the service we are interested in
* @param attrNames are the name of the attributes wer are interested in.
* @param amOrgName is the orgname.
* @param amsdkDN is the amsdkDN.
* @throws IdRepoException if there are repository related error conditions.
* @throws SSOException if user's single sign on token is invalid.
*/
throws IdRepoException, SSOException;
public void clearIdRepoPlugins();
int type);
public void reloadIdRepoServiceSchema();
public void reinitialize();
}