IDL Interface for SecurityServer1 CORBA server.
- By David Houlding
- August 14, 2000
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 );
};
};