资源简介

cognos自定义java程序登录程序,文件包含sql脚本,jar包,源码文档等。测试在cognos上登录可用,实现cognos自定义用户表权限管理。

资源截图

代码片段和文件信息

package auth;
import java.util.HashMap;
import java.util.Locale;
import java.util.Set;
import java.util.Vector;

import com.cognos.CAM_AAA.authentication.IAccount;


public class Account extends UiClass implements IAccount
{
/**
 * Creates a Cognos 8 Account
 * 
 * @param theobjectID
 *            The unique identifier for the account.
 */
public Account(String theobjectID)
{
super(theobjectID);
businessPhone = null;
email = null;
contentLocale = null;
productLocale = null;
faxPhone = null;
givenName = null;
homePhone = null;
mobilePhone = null;
pagerPhone = null;
postalAddress = null;
surname = null;
userName = null;
customProperties = null;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getBusinessPhone()
 */
public String getBusinessPhone()
{
return businessPhone;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getEmail()
 */
public String getEmail()
{
return email;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getContentLocale()
 */
public Locale getContentLocale()
{
return contentLocale;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getFaxPhone()
 */
public String getFaxPhone()
{
return faxPhone;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getGivenName()
 */
public String getGivenName()
{
return givenName;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getHomePhone()
 */
public String getHomePhone()
{
return homePhone;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getMobilePhone()
 */
public String getMobilePhone()
{
return mobilePhone;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getPagerPhone()
 */
public String getPagerPhone()
{
return pagerPhone;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getPostalAddress()
 */
public String getPostalAddress()
{
return postalAddress;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getProductLocale()
 */
public Locale getProductLocale()
{
return productLocale;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getSurname()
 */
public String getSurname()
{
return surname;
}


/*
 * (non-Javadoc)
 * 
 * @see com.cognos.CAM_AAA.authentication.IAccount#getUserName()
 */
public String getUserName()
{
return userName;
}


/**
 * Sets the business phone property.
 * 
 * @param theBusinessPhone
 *            The business phone number value.
 */
public void setBusinessPhone(String theBusinessPhone)
{
businessPhone = theBusines

评论

共有 条评论