Interstage Application Server リファレンスマニュアル(API編)
目次 索引 前ページ次ページ

付録B 認証オブジェクトのIDL

 認証オブジェクトが実装するIDLについて説明します。本IDLを使用して認証オブジェクトを作成します。

 ユーザDNを使用して認証を行うオペレーションとしてauth_check()を使用し、ユーザ名による認証を行うオペレーションとしてauth_check2()を使用します。

module ISTD {
    interface ASO {
       exception InvalidArgument { string reason; };
       exception CannotProceed   { string reason; };
       exception InternalError   { string reason; };

       // auth_check および auth_check2の復帰値
       const long OK  =  0;
       const long NG  =  1;

       long  auth_check( in string userDN,
                         in string password
                       ) raises(InvalidArgument, CannotProceed, InternalError);

       long  auth_check2( in string username,
                          in string password,
                          in string userbaseDN
                       ) raises(InvalidArgument, CannotProceed, InternalError);

    };

};

下へB.1 認証オブジェクトインタフェースのオペレーション

目次 索引 前ページ次ページ

All Rights Reserved, Copyright(C) 富士通株式会社 2005