protected String generateSsoCookieName() {
        WsLocationAdmin locationAdmin = locationAdminRef.getService();
        if (locationAdmin != null) {
            String usrLocation = locationAdmin.resolveString(WLP_USER_DIR).replace('\\', '/');
            String slash = usrLocation.endsWith("/") ? "" : "/";
            String cookieLongName = getHostName() + "_" + usrLocation + slash + "servers/" + locationAdmin.getServerName();
            String cookieHashName = AUTO_GEN_COOKIE_NAME_PREFIX + StringUtil.hash(cookieLongName);
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled()) {
                Tr.debug(tc, "cookieHashName: " + cookieHashName + " cookieLongName: " + cookieLongName);
            }
            return cookieHashName;
        } else {
            Tr.error(tc, "OSGI_SERVICE_ERROR", "WsLocationAdmin");
            return null;
        }
    }
protected String generateSsoCookieName ( ) { WsLocationAdmin locationAdmin = locationAdminRef . getService ( ) ; if ( locationAdmin != null ) { String usrLocation = locationAdmin . resolveString ( WLP_USER_DIR ) . replace ( '\\' , '/' ) ; String slash = usrLocation . endsWith ( "/" ) ? "" : "/" ; String cookieLongName = getHostName ( ) + "_" + usrLocation + slash + "servers/" + locationAdmin . getServerName ( ) ; String cookieHashName = AUTO_GEN_COOKIE_NAME_PREFIX + StringUtil . hash ( cookieLongName ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isDebugEnabled ( ) ) { Tr . debug ( tc , "cookieHashName: " + cookieHashName + " cookieLongName: " + cookieLongName ) ; } return cookieHashName ; } else { Tr . error ( tc , "OSGI_SERVICE_ERROR" , "WsLocationAdmin" ) ; return null ; } }
@param cookieName