Post

Visualizzazione dei post con l'etichetta SUN Jes

How to check Directory Server version

On Solaris: From $NETSITE_ROOT/bin/slapd/server/64 ( $NETSITE_ROOT is the directory below slapd-instancename , in our case /opt/ds ), run: $ ./ns-slapd -v On Windows: C:\Program Files\Sun\JavaES5\DSEE\ds6\lib>ns-slapd -v The result is like the followiong: Sun Microsystems, Inc. Sun-Java(tm)-System-Directory/6.0 B2007.030.1546 32-bit ns-slapd : 6.0 B2007.030.1546 Slapd Library : 6.0 B2007.030.1546 Front-End Library : 6.0 B2007.030.1546

Come installare SUN Identity Manager 8 su Mac OS X

Sun Identity Manager on Mac OS X and Tomcat or Application Server Earlier I blogged about installling OpenDS on Mac OS X. Installing Sun Identity Manager 8 is just as easy with a minor tweak. The "lh" script that sets up an environment for subsequent Java commands, is only aware of Unix, Linux and Windows. A minor edit, in green font below, is required for the lh script to recognize the Macintosh Operating System 'Darwin' OS=`uname -s` if [ "$OS" = " Darwin " ]; then ARCH=linux ARCH_DIR=linux elif [ "$OS" = "SunOS" ]; then SPECIFIC_OS=`arch` if [ "$SPECIFIC_OS" = "i86pc" ]; then ARCH=solaris/x86 ARCH_DIR=solaris/x86 else ARCH=solaris/sparc ARCH_DIR=solaris/sparc fi elif [ "$OS" = "AIX" ]; then ARCH=aix ARCH_DIR=aix elif [ "$OS" = "HP-UX" ]; then ARCH=hpux ARCH_DIR=hpux else ARCH=winnt ARCH_DIR=win fi Thus, the standard procedure to in...

Access Manager: Come prendere i dati di un utente usando le librerie iplanet-idRepo

SSOToken ssoToken = null; Principal principal = null; try { SSOTokenManager ssoTokenMgr = SSOTokenManager.getInstance(); ssoToken = ssoTokenMgr.createSSOToken(request); principal = ssoToken.getPrincipal(); AMIdentity am = new AMIdentity(ssoToken); System.out.println("YYYYYYYYYYYY1: " + principal.toString()); System.out.println("YYYYYYYYYYYY2: " + principal.getName()); System.out.println("YYYYYYYYYYYY3: " + am.getName()); System.out.println("YYYYYYYYYYYY4: " + am.getRealm()); } catch (SSOException se) { throw new SSOException("CommunityManagerImpl.init( failed to create ssoToken."); }