Distributed type colony management control system based on LDAP
A cluster management and monitoring system technology, applied in transmission systems, digital transmission systems, electrical components, etc., can solve the problems of increasing the burden of database nodes, low node independence, and low system stability.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0081] Example 1: The managed end binds the RMI object
[0082] import javax.naming.Context;
[0083] import javax.naming.directory.DirContext;
[0084] import javax.naming.directory.InitialDirContext;
[0085] import java.rmi.server.UnicastRemoteObject;
[0086] import java.util.Hashtable;
[0087] public class LDAPTest
[0088] {
[0089] / * connect LDAP directory context * /
[0090] public static DirContext ldap = null;
[0091] / * get connection * /
[0092] public static DirContext getConnection()
[0093] {
[0094] DirContext dct = null;
[0095] / / Directory tree root node
[0096] String root="dc=inspur,dc=com";
[0097] / / Initialize connection parameters
[0098] Hashtable env = new Hashtable();
[0099] env.put(Context.INITIAL_CONTEXT_FACTORY,
[0100] "com.sun.jndi.ldap.LdapCtxFactory");
[0101] env.put(Context.PROVIDER_URL, "ldap; / / 10.152.11.99 / "+root);
[0102] env. put(Context. SECURITY_AUTHENTICATION, "simple");
[0103] env.put(C...
Embodiment 2
[0158] The management terminal accesses the managed terminal tree
[0159] import javax.naming.Context;
[0160] import javax.naming.directory.DirContext;
[0161] import javax.naming.directory.InitialDirContext;
[0162] import java.rmi.server.UnicastRemoteObject;
[0163] import java.util.Hashtable;
[0164] public class Client
[0165] {
[0166] / * connect LDAP directory context * /
[0167] public static DirContext ldap = null;
[0168] / * get connection * /
[0169] public static DirContext getConnection()
[0170] {
[0171] DirContext dct = null;
[0172] / / root node
[0173] String root="dc=domain,dc=com";
[0174] / / Initialize connection parameters
[0175] Hashtable env = new Hashtable();
[0176] env.put(Context.INITIAL_CONTEXT_FACTORY,
[0177] "com.sun.jndi.ldap.LdapCtxFactory");
[0178] env.put(Context.PROVIDER_URL, "ldap: / / 10.152.11.99 / "+root);
[0179] env. put(Context. SECURITY_AUTHENTICATION, "simple");
[0180] env. put(Conte...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com