SessionServiceConfigurationReferenceObject.java revision 56ed5bbb263838f338eb8afc978091c01a4f2a2b
/**
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2012 ForgeRock AS 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]"
*
* Portions Copyrighted [2010-2012] [ForgeRock AS]
*
*/
/**
* Provide simple Pojo for passing addition property
* information securely to the persistent Store.
*
* @author jeff.schenk@forgerock.com
*/
/**
* AM Session Repository Type, always
* Default to Embedded until we initialize.
*/
/**
*/
/**
* Session Store Password/Credentials
*/
/**
* Session Repository URL,
* Can be Null, if using Internal Embedded OpenDJ Instance or OpenAM Configuration Directory.
* Otherwise will specify the LDAP or eventually an LDAP or HTTP RESTful URL to perform
* persistence against.
*/
/**
* Session Repository Root DN,
* DN used as the Top-Level Container for Session Persistence.
*/
/**
* Min Pool Size for External resource
*/
private int minPoolSize;
/**
* Max Pool Size for External resource
*/
private int maxPoolSize;
/**
* Default Constructor with All applicable fields.
*
* @param amSessionRepositoryType
* @param sessionStoreUserName
* @param sessionStorePassword
* @param sessionRepositoryURL
*/
int minPoolSize,
int maxPoolSize)
{
this.minPoolSize = minPoolSize;
this.maxPoolSize = maxPoolSize;
}
return amSessionRepositoryType;
}
public String getSessionStoreUserName() {
return sessionStoreUserName;
}
public String getSessionStorePassword() {
return sessionStorePassword;
}
public String getSessionRepositoryURL() {
return sessionRepositoryURL;
}
public String getSessionRepositoryRootDN() {
return sessionRepositoryRootDN;
}
public int getMinPoolSize() {
return minPoolSize;
}
public int getMaxPoolSize() {
return maxPoolSize;
}
}
}