WebSphere Application Server Version 6.1 Feature Pack for Web Services   
             オペレーティング・システム: AIX , HP-UX, i5/OS, Linux, Solaris, Windows, Windows Vista, z/OS

             目次と検索結果のパーソナライズ化

カスタム・パスワード暗号化の実装

WebSphere Application Server は、カスタム・パスワード暗号化の使用をサポートします。

始める前に

インストール済み環境では、任意のパスワード暗号化アルゴリズムを選択して実装できます。

このタスクについて

カスタム・パスワード暗号化を実装するには、以下のステップを実行します。

プロシージャー

  1. カスタム・パスワード暗号化クラスを作成します。 以下はカスタム・パスワード暗号化クラスの例です。
    // CustomPasswordEncryption
    // Encryption and decryption functions
    public interface CustomPasswordEncryption {
        public EncryptedInfo encrypt(byte[] clearText) throws PasswordEncryptException;
        public byte[] decrypt(EncryptedInfo cipherTextInfo) throws PasswordEncryptException;
        public void initialize(HashMap initParameters);
    };
    // Encapsulation of cipher text and label
    public class EncryptedInfo {
        public EncryptedInfo(byte[] bytes, String keyAlias);
        public byte[] getEncryptedBytes();
        public String getKeyAlias();
    };
    
  2. カスタム・パスワード暗号化を使用可能にします。
    1. カスタム・プロパティー com.ibm.wsspi.security.crypto.customPasswordEncryptionClass を、制御が付与されるクラスの名前に設定します。
    2. 機能を使用可能にします。 カスタム・プロパティー com.ibm.wsspi.security.crypto.customPasswordEncryptionEnabledtrue に設定します。

結果

インストール済み環境でのカスタム・パスワード暗号化が完了しました。



関連概念
カスタム・パスワード暗号化のプラグ・ポイント
関連タスク
WebSphere セキュリティー・インフラストラクチャーに対する拡張の開発
タスク・トピック    

ご利用条件 | フィードバック

最終更新: Jan 21, 2008 4:10:06 PM EST
http://publib.boulder.ibm.com/infocenter/wasinfo/v6r1/index.jsp?topic=/com.ibm.websphere.wsfep.multiplatform.doc/info/ae/ae/tsec_pwencrypt.html