IDL Interface for SecurityServer1 CORBA server.

ENTERPRISE JAVA
Reusing CORBA Web Services With JavaScript

David Houlding
Listing 1. IDL Interface for SecurityServer1 CORBA server.


module security
{
    typedef string SecureSessionID;

    exception InvalidUseridPasswordPair {
        string userid;
        string password;
    };

    exception InvalidSecureSessionID {
        SecureSessionID id;
    };

    interface SecurityServer {
        SecureSessionID login( in string userid, in string password )
            raises ( InvalidUseridPasswordPair );

       boolean logout( in SecureSessionID secureSessionID )
            raises ( InvalidSecureSessionID );

       boolean authorize( in SecureSessionID secureSessionID,
                     in string serviceName, out string accessControlList )
            raises ( InvalidSecureSessionID );
    };
};

Featured

Upcoming Events

AppTrends

Sign up for our newsletter.

I agree to this site's Privacy Policy.