Request.java revision 133bed8ec2ccc857a62d6301f67c3ef3d36aa333
/**
* 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: Request.java,v 1.5 2009/01/28 05:34:59 ww203982 Exp $
*
*/
/**
*
* @deprecated Since OpenAM 10.2.0
*/
class Request {
// plugin config info
private Map _pluginConfig;
// ldap message id
private int _id;
// ID returned to user.
// The authenticated id of the requester.
private SSOToken _requester;
// Search Root
// Search scope
private int _scope;
// Search filter
// Search attributes
// Search constraints
private int _operations;
// The event listener
private IdRepoListener _listener;
private LDAPConnection _connection;
private long _lastUpdatedTime;
// the plugin owner of this request.
private LDAPv3Repo _owner;
// request status.
private boolean _stop;
// ldap server names
private String _serverNames;
// ps search identifer.
/**
* Request object constructor (package private)
*/
{
_stop = false;
}
/**
*
*/
int getId()
{
return _id;
}
/**
*
*/
String getRequestID() {
return _reqID;
}
/**
*
*/
{
return _requester;
}
/**
*
*/
{
return _baseDn;
}
/**
*
*/
int getScope()
{
return _scope;
}
/**
*
*/
{
return _filter;
}
/**
*
*/
{
return _attrs;
}
/**
*
*/
int getOperations()
{
return _operations;
}
/**
* Add Listsner
*/
synchronized IdRepoListener getListener()
{
return _listener;
}
protected LDAPConnection getLDAPConnection() {
return _connection;
}
protected Map getPluginConfig() {
return _pluginConfig;
}
}
protected long getLastUpdatedTime() {
return _lastUpdatedTime;
}
protected void setLastUpdatedTime(long time) {
}
protected boolean getStopStatus() {
return _stop;
}
protected void setStopStatus(boolean state) {
}
protected LDAPv3Repo getOwner() {
return _owner;
}
}
protected String getServerNames() {
return _serverNames;
}
}
protected String getPsIdKey() {
return _psIdKey;
}
}
/*
*
*/
if (i>0) {
str += " ";
}
}
return str;
}
}