スタンドアロン・カスタム・レジストリー
import java.rmi.RemoteException;
import java.security.cert.X509Certificate;
import java.util.List;
import java.util.Properties;
import com.ibm.websphere.security.CertificateMapFailedException;
import com.ibm.websphere.security.CertificateMapNotSupportedException;
import com.ibm.websphere.security.CustomRegistryException;
import com.ibm.websphere.security.EntryNotFoundException;
import com.ibm.websphere.security.NotImplementedException;
import com.ibm.websphere.security.PasswordCheckFailedException;
import com.ibm.websphere.security.Result;
import com.ibm.websphere.security.UserRegistry;
import com.ibm.websphere.security.cred.WSCredential;
public class UserRegistryEx implements UserRegistry {
/**
* UserRegistry メソッドを初期化
*/
@Override
public void initialize(Properties props) throws CustomRegistryException,
RemoteException {
}
/**
* ユーザIDとパスワードを使用してユーザーを認証
*/
@Override
public String checkPassword(String userSecurityName, String password)
throws PasswordCheckFailedException, CustomRegistryException,
RemoteException {
return null;
}
/**
* X509 証明書からユーザー名を取得
*/
@Override
public String mapCertificate(X509Certificate[] cert)
throws CertificateMapNotSupportedException,
CertificateMapFailedException, CustomRegistryException,
RemoteException {
return null;
}
/**
* セキュリティー・レルム名を取得
*/
@Override
public String getRealm() throws CustomRegistryException, RemoteException {
return null;
}
/**
* レジストリーからユーザーのリストを取得
*/
@Override
public Result getUsers(String pattern, int limit)
throws CustomRegistryException, RemoteException {
return null;
}
/**
* ユーザーの表示名を取得
*/
@Override
public String getUserDisplayName(String userSecurityName)
throws EntryNotFoundException, CustomRegistryException,
RemoteException {
return null;
}
/**
* ユーザーの固有 ID
*/
@Override
public String getUniqueUserId(String userSecurityName) throws EntryNotFoundException,
CustomRegistryException, RemoteException {
return null;
}
/**
* 使用してユーザーのセキュリティー名
*/
@Override
public String getUserSecurityName(String uniqueUserId)
throws EntryNotFoundException, CustomRegistryException,
RemoteException {
return null;
}
/**
* 指定ユーザーがレジストリーで正当なユーザーであるかどうかをチェック
*/
@Override
public boolean isValidUser(String userSecurityName) throws CustomRegistryException,
RemoteException {
return false;
}
/**
* ユーザー・レジストリーからグループのリストを戻す
*/
@Override
public Result getGroups(String pattern, int limit)
throws CustomRegistryException, RemoteException {
return null;
}
/**
* グループの表示名を取得
*/
@Override
public String getGroupDisplayName(String groupSecurityName)
throws EntryNotFoundException, CustomRegistryException,
RemoteException {
return null;
}
/**
* グループの固有 ID を取得
*/
@Override
public String getUniqueGroupId(String groupSecurityName) throws EntryNotFoundException,
CustomRegistryException, RemoteException {
return null;
}
/**
* ユーザーが属するすべてのグループの固有 ID を取得
*/
@Override
public List getUniqueGroupIds(String uniqueUserId) throws EntryNotFoundException,
CustomRegistryException, RemoteException {
return null;
}
/**
* グループのセキュリティー名を取得
*/
@Override
public String getGroupSecurityName(String uniqueGroupId)
throws EntryNotFoundException, CustomRegistryException,
RemoteException {
return null;
}
/**
* グループがレジストリーで有効なグループであるかどうかを判別
*/
@Override
public boolean isValidGroup(String groupSecurityName) throws CustomRegistryException,
RemoteException {
return false;
}
/**
* ユーザーが属するすべてのグループを取得
*/
@Override
public List getGroupsForUser(String getGroupsForUser) throws EntryNotFoundException,
CustomRegistryException, RemoteException {
return null;
}
/**
* 指定したグループからユーザーを取得
*/
@Override
public Result getUsersForGroup(String groupSecurityName, int limit)
throws NotImplementedException, EntryNotFoundException,
CustomRegistryException, RemoteException {
return null;
}
/**
* WebSphereユーザ・アカウント・リポジトリI/Fで定義されたAPIのため、未実装
*/
@Override
public WSCredential createCredential(String arg0)
throws NotImplementedException, EntryNotFoundException,
CustomRegistryException, RemoteException {
throw new NotImplementedException();
}
}