Latest

  • DROP all tables, views, stored procedures, & Sequences from Schema

    Below script will help to delete all tables, constrains from user Begin for c in (select table_name from user_tables) loop execute immediate (‘drop table ‘||c.table_name||’…

  • Authentication vs. Authorization

    It is easy to confuse the mechanism of authentication with that of authorization. In many host-based systems (and even some client/server systems), the two mechanisms…

  • Configure CAS with LDAP

    Here are the few steps to configure LDAP with CAS server Download CAS Server 3.3.2 from the JaSig Unzip the file in C drive. Assume…

  • Retrive user info from LDAP

    Below code will connect the LDAP server and retrives the user information import java.util.Hashtable; import javax.naming.AuthenticationException; import javax.naming.Context; import javax.naming.NamingEnumeration; import javax.naming.NamingException; import javax.naming.directory.Attribute; import…