intra-mart 6.1.14

jp.co.intra_mart.foundation.portal.common.encode
インタフェース EnCodeInterface


public interface EnCodeInterface

簡易SSOのパスワードを暗号化するインタフェース。

簡易SSO設定のパスワードをDBに保存する際の暗号化処理クラスです。 デフォルトで提供されるクラスでは16進文字列への変換を行っています。

ユーザは簡易SSO用のパスワードの暗号化処理を独自に実装したい場合、 このインタフェースを実装したクラスを生成し、PortalCommonConfig.propertiesにクラス名を設定します。

設定ファイル
<% Application Runtime Root %>/doc/imart/WEB-INF/classes/PortalCommonConfig.properties
プロパティ名
EncodeInterface

導入されたバージョン:
5.0
バージョン:
1.0

メソッドの概要
 String decode(String string)
          復号化を行います。
 String encode(String string)
          暗号化を行います。
 

メソッドの詳細

encode

public String encode(String string)
暗号化を行います。

パラメータ:
string - 暗号化対象文字列
戻り値:
暗号化後の文字列

decode

public String decode(String string)
復号化を行います。

パラメータ:
string - 復号化対象文字列
戻り値:
復号化後の文字列

intra-mart 6.1.14

Copyright © 2000-2010 NTT DATA INTRAMART CO.,LTD.. All Rights Reserved.