Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 JAAS Authentication Modules : Connection Limit Authentication

Connection Limit Authentication
The Connection Limit Authentication module limits the number of active connections a user can have at any one time.
Authentication Process
When a client connects, the user name is identified and then authenticated based on the number of connections open for that user. If the number of connections is less than the configured limit, the user is authenticated successfully, and the internal connection count is incremented. When a user disconnects, the internal connection count is decremented.
A client’s user name can be specified as one of three types: hostname, IP address, or LDAP ID.
Implementation
The Connection Limit Authentication module name is:
com.tibco.tibems.tibemsd.security.jaas.ConnectionLimitAuthentication
The JAAS configuration file entry for this login module should have a section similar to the following:
EMSUserAuthentication {
    com.tibco.tibems.tibemsd.security.jaas.ConnectionLimitAuthentication required
    tibems.connectionlimit.max_connections="5"
    tibems.connectionlimit.type="HOSTNAME" ;
};
Parameters
When set to true, enables debug output for the module. Enabling this parameter may aid in diagnosing configuration problems.
Warning: Enabling the debug flag may create security vulnerabilities by revealing information in the log file.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved